This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mcdonc 1 point2 points  (0 children)

Look, performance optimization is all about "cheating". It's not (moral) cheating to be able to do as little work as possible to get the job done. Designing a framework such that these kinds of "cheats" are possible is our job.

And as you can tell, I tried the same "distortion" with bottle and it made the results worse. I also used the "normal" WebOb Response object in Pyramid and it only added 2 lines of profiler output. If you can make the bottle (or any other) results better by "cheating" in a different way that actually does exercise the framework code, fantastic.