Edgewall Software

Opened 18 years ago

Last modified 6 years ago

#86 new enhancement

Kid and Genshi Match Template Benchmarks

Reported by: hodgestar+genshi@… Owned by: hodgestar
Priority: major Milestone: 0.9
Component: Examples / Benchmarks Version: devel
Keywords: match templates Cc: davidf@…

Description

A version of the bigtable benchmark modified to do py:match replacing on the contents of the table cells.

Attachments (1)

matchtable.py (2.2 KB) - added by hodgestar+genshi@… 18 years ago.
Match template bench marking script.

Download all attachments as: .zip

Change History (9)

Changed 18 years ago by hodgestar+genshi@…

Match template bench marking script.

comment:1 Changed 18 years ago by hodgestar+genshi@…

Some results of running the bench marking script against trunk and trunk with recent match template patches applied:

Trunk (r466)

python examples/bench/matchtable.py genshi Genshi template 389.58 ms Genshi template 387.88 ms

Match Expression Patch (r466 + ticket 55)

python examples/bench/matchtable.py genshi Genshi template 437.86 ms Genshi template 393.77 ms Genshi template 394.83 ms Genshi template 390.43 ms Genshi template 389.38 ms Genshi template 387.42 ms Genshi template 389.72 ms Genshi template 397.39 ms

Smatch Patch (r466 + ticket 85; py:match -> py:smatch)

python examples/bench/matchtable.py genshi Genshi template 323.02 ms Genshi template 323.17 ms Genshi template 322.70 ms Genshi template 320.95 ms Genshi template 324.35 ms Genshi template 322.32 ms Genshi template 320.59 ms Genshi template 319.43 ms Genshi template 333.27 ms

comment:2 Changed 18 years ago by davidf@…

  • Cc davidf@… added

comment:3 Changed 18 years ago by cmlenz

  • Milestone changed from 0.4 to 0.5

This should probably be part of a performance test suite, i.e. not comparing Genshi to other template engines, but rather testing the speed of specific parts of Genshi. Will look into this for the next major milestone.

comment:4 Changed 17 years ago by cmlenz

  • Milestone changed from 0.5 to 0.6

comment:5 Changed 15 years ago by cmlenz

  • Milestone changed from 0.6 to 0.7

comment:6 Changed 13 years ago by anonymous

  • Owner changed from cmlenz to anonymous
  • Status changed from new to assigned

comment:7 Changed 13 years ago by hodgestar

  • Owner changed from anonymous to hodgestar
  • Status changed from assigned to new

comment:8 Changed 8 years ago by hodgestar

  • Milestone changed from 0.7 to 0.9

Moved to milestone 0.9.

Note: See TracTickets for help on using tickets.