Ask HN: New website review - micro-optimization.com
I've had this idea for a long time and finally got some spare time to put the site together: http://micro-optimization.com .
I'm not a big fan of early optimizations or micro-optimizations and I'm not interested in the old, ongoing discussion about them being recommended vs considered harmful. I'm not trying to encourage or discourage them.
I though it would be interesting though, to actually (properly) test and document how much really is that ++i faster than i++.
I can hear occasionally developers saying that "I've heard that function X is faster than Y, so we should use it". Here you go so: there is no need for guessing, it can simply be tested and documented.
I've started with some common PHP micro-optimization myths out there. I've tried to get as accurate tests as possible. I'm also running tests on different versions of PHP and on different machines.
Please let me know what do you think about the site. Be warned - I'm not a very good graphic designer!
3 comments
[ 3.0 ms ] story [ 15.0 ms ] threadAs a suggestion, how about a haskell.micro-optimization.com, rb.micro-optimization.com, or py.micro-optimization.com? I feel like this could be a nice resource if it included more languages.