Andy Wingo writes: >> Today I tried to statprof my toy application, that uses htmlprag >> since it is too slow (4 sec on one page) vs 0.5 with Python. >> Statprof says, that most of time takes `eval` function, but I checked >> htmlprag source --- it does not use eval. So question is where is it >> called and what can I do to speedup my application? >> time seconds seconds name >> 56.48 4.22 2.38 eval >> 11.82 0.50 0.50 memoized-expression-data > Probably this means that your program is being interpreted, rather than > compiled. Or something is being interpreted, anyway. Check that you > have auto-compilation on. Thanks! It reduced time from 4 sec to 0.4. -- Best regards, Dmitry Bogatov , Free Software supporter and netiquette guardian. git clone git://kaction.name/rc-files.git --depth 1 GPG: 54B7F00D Html mail and proprietary format attachments are forwarded to /dev/null.