3 ms·
Your same argument can be applied to virtually any other language: This ruby benchmark doesn't matter because ruby is written in C! This nodejs benchmark does
by SEJeff 10y ago
Your same argument can be applied to virtually any other language:
This ruby benchmark doesn't matter because ruby is written in C!
This nodejs benchmark doesn't matter because v8 is written in C/C++!
etc.
- mattnewton 10y agoI think his argument is that ymmv as you add more python code to this native-heavy benchmark.
- throwawayish 10y agoITT: Web developers being surprised by the meaninglessness of microbenchmarks.
- jsd1982 10y agoNo, we're not surprised by microbenchmarks. We're surprised by the amount of investment in trying to improve the foundations of toppling-over buildings when that investment could be better spent elsewhere.
- devty 10y agoThe article mentions that the framework avoids creating python datastructure (e.g. A dictionary to read HTTP headers) to improve benchmark performance. It's a clever trick, but I am unconvinced that A less-than-simple application will demonstrate performance anywhere close to what was claimed in the article.
- jsd1982 10y ago> Your same argument can be applied to virtually any other language No it can't. Each of those languages you listed (as well as Python) has its own runtime system designed to implement the desired semantics and features of the language. When writing a C extension to one of these runtimes, you're escaping the confines of the runtime system in order to improve performance or capabilities not native to the host runtime. The point isn't "because it's written in C"; the point is that it's not written in Python and therefore the results of the benchmark cannot be attributed to Python, to say nothing of the merit of the benchmark in the first place.
- didibus 10y agoGo is written in Go.