[Urwid] Urwid benchmarking tool and results

Victor Stinner victor.stinner at haypocalc.com
Tue Jan 2 05:42:23 EST 2007


Le Lundi 1 Janvier 2007 23:55, Ian Ward a écrit :
> 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

Don't compute average time, but minimum time. It's better to compare Python 
code because of multi-users multi-tasks multi-... OS, average time doesn't 
mean anything.

> Here are my results for bench_1.py with Urwid
> [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

Yeah, sounds better :-)

I tried my patches. There aren't better or worse, they looks similar (in 

So you don't my patches. I'm happy to know that urwid is now faster in UTF-8 
terminal ;-)

Ian: you should release a version or 0.9.8.


More information about the Urwid mailing list