I've checked in a very basic benchmark of the tour.py example program:
http://excess.org/urwid/changeset/50
bench_record.py lets you run the tour example program and outputs the
input you entered on exit. That input can be used to make a script like
bench_1.py
You can download bench_1.py here:
http://excess.org/urwid/browser/contrib/trunk/bench_1.py?format=raw
Here are my results for bench_1.py with Urwid 0.9.7.1:
[4.747668981552124, 4.6999080181121826, 4.6958651542663574]
Average: 4.714481
And this in on the current trunk (development version) with one patch*
to fix some bad canvas behaviour:
[1.6676809787750244, 1.6837959289550781, 1.708920955657959]
Average: 1.686799
I'll post more results as other performance improvements are committed.
Ian
*http://excess.org/urwid/changeset/48
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid