Opened 9 years ago

Last modified 9 years ago

#3715 enhancement new

Benchmark API

Reported by: Thijs Triemstra Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Jean-Paul Calderone, Thijs Triemstra Branch:


Currently there isn't a API or uniform way to benchmark the Twisted codebase itself or Twisted applications. Some of the the sub projects in Twisted have a benchmark folder containing snippets of code that test that project's codebase but it's only covering a small fraction of the library in most cases:

  • [source:trunk/doc/conch/benchmarks]
  • [source:trunk/doc/core/benchmarks]

Since there will be a need to test more of the library, there will be more tickets like #3704 in the future and it would be good to have a single approach for these benchmark tests. And it would be even better to be able to use that same API to test your own Twisted applications.

Change History (5)

comment:1 Changed 9 years ago by Thijs Triemstra

Also see #1177 - Benchmarking Support for Trial

comment:2 Changed 9 years ago by Thijs Triemstra

And it would allow us to make testing other implementations like the one for Deferred implementation in C easier.

comment:3 Changed 9 years ago by Thijs Triemstra

This ticket talks about the need for performance testing in the build process.

comment:4 Changed 9 years ago by Glyph

Owner: changed from Glyph to Thijs Triemstra

comment:5 Changed 7 years ago by <automation>

Owner: Thijs Triemstra deleted
Note: See TracTickets for help on using tickets.