They are also single node which is great if you're entire system is only going to ever need one machine's worth of capacity (Eg: vertical scaling)
Techempower Web Framework Benchmarks Round 10
41–50 of 66 posts
Re: Techempower Web Framework Benchmarks Round 10
#42Bottle handling 5x more requests than Flask. Impressive, but overall Python framework performance ist still... meh.
Re: Techempower Web Framework Benchmarks Round 10
#43 1) Statistics
2) Running Overhead
3) Travis-CI
4) Memory/Bandwidth/Other info
5) Windows
6) IRC
7) Ease of Contributing
1) Currently, the TFB results are not statistically sound in any sense - for each round you're looking at one data point. EC2 has higher variability in performance, so that one data point is worth less than the bare metal data point. Re-running this round, I would expect to see at least 5 to 10% difference for each framework permutation. See point (2) to understand why we're not yet running 30 iterations and averaging (or something similar)2) Running a benchmark "round" takes >24 hours, and still (sadly) a nontrivial amount of manpower. It's currently really tough to do lots of previews before an official round, and therefore tough to let framework contributors "optimize" their frameworks iteratively. I'm working on continuous benchmarking over at https://github.com/hamiltont/webjuice - it's a bit early for PRs, but open an issue if you want to chat
3) As you can imagine, our resource usage on Travis-CI is much higher than other open source projects. They have been nothing but amazing, and even reached out to chat about mutual solutions to potentially reduce our usage. Really great team
4) We do record a lot of this using the dstat tool. dstat outputs a huge amount of data, and no one has sent in a PR to help us aggregate that data into something easy to visualize. If you want this info, it's available in the results github in raw form.
5) Sadly windows support is struggling at the minute. We need something setup like Travis-CI but for our Windows system. CUrrently windows PRs have to be manually tested, and few of the contributors have either a) time to do it manually in a responsive manner or b) windows setups (a few do, but many of us dont). Any takers to help set something up? FYI, we have put a ton of work into keeping Mono support just so we can at least test that changes to C# tests at least run and pass verification, but naturally that isn't as nice as really having native windows support
6) join us on freenode at #techempower-fwbm - it's really fun meeting the brilliant people behind the frameworks
7) If I had to pick one big thing that's happened in between R9 and R10, it would be the drastically reduced barrier to entry. Running these benchmarks requires configuring three computers, which is much harder than something like pip install. Adding vagrant support that can setup a development environment in one command, or deploy to a benchmarking-ready AWS EC2 environment, has really reduced the barrier to getting involved. Adding Travis-CI made it better - it will automatically verify that your changes check out! Adding documentation at https://frameworkbenchmarks.readthedocs.org/en/latest/Projec... made it even easier. Having a stable IRC community is even better! Tons of changes have added to mean that it's now easier than ever for someone to get involved
Re: Techempower Web Framework Benchmarks Round 10
#44I've been working with this project for a while, here's some unorganized thoughts: 1) Statistics 2) Running Overhead 3) Travis-CI 4) Memory/Bandwidth/Other info 5) Windows 6) IRC 7) Ease of Contributing 1) Currently, the TFB results are not statistically sound in any sense - for each round you're looking at one data point. EC2 has higher variability in performance, so that one data point is worth less than the bare m…
Re: Techempower Web Framework Benchmarks Round 10
#45Every time I'm struck by how slow the big PHP frameworks are compared to raw PHP. Either nobody cares about making those tests perform better, or something is very wrong in the architecture of those frameworks. I expect the cause is that too much code is being loaded for every request. PHP tears down and rebuilds the world for every request, and the popular frameworks load a lot of code and instantiate a lot of objec…
Why this is the status quo is something I also question.
Re: Techempower Web Framework Benchmarks Round 10
#46Every time I'm struck by how slow the big PHP frameworks are compared to raw PHP. Either nobody cares about making those tests perform better, or something is very wrong in the architecture of those frameworks. I expect the cause is that too much code is being loaded for every request. PHP tears down and rebuilds the world for every request, and the popular frameworks load a lot of code and instantiate a lot of objec…
Very few do. Just look at Symfony's complexity , the devs managed to shove proxies into the IoC container to "lazy load services" so you could inject them into the controller class constructors without actually instantiating them until you call a route handler's controller instance method... Using complex class hierarchies in PHP has a big cost, while "raw PHP" barely executes the underlying C code. To be fair people using heavy frameworks come for the battery included first, not really for the speed of the router. And since devs want more batteries, it's unlikely it will get faster.
Re: Techempower Web Framework Benchmarks Round 10
#47I'd like to see some ASP.NET running on Owin. Perhaps I'll find the time to add it myself before round 11.
Re: Techempower Web Framework Benchmarks Round 10
#48I've been working with this project for a while, here's some unorganized thoughts: 1) Statistics 2) Running Overhead 3) Travis-CI 4) Memory/Bandwidth/Other info 5) Windows 6) IRC 7) Ease of Contributing 1) Currently, the TFB results are not statistically sound in any sense - for each round you're looking at one data point. EC2 has higher variability in performance, so that one data point is worth less than the bare m…
Yeah, I clicked stats and tried to hide everything but IIS since that's the web server I use. No results. Closed page.
EDIT: Actually, let me just link everyone to github:
Here are the windows compatibility issues - https://github.com/TechEmpower/FrameworkBenchmarks/issues?q=...
Here is the specific issue asking for advice on what CI we should use to support windows: https://github.com/TechEmpower/FrameworkBenchmarks/issues/10...
Re: Techempower Web Framework Benchmarks Round 10
#49Few notes: * Impressive Dart * JRuby > MRI (I'd like to see JRuby 9k) * Padrino that offers basically everything that Rails does performs impressively well. [Shameless Plug]
That said, it's still a huge step up from the 1.7 series, and once the team starts knocking out performance problems it should be pretty magnificent.
Re: Techempower Web Framework Benchmarks Round 10
#50Every time I'm struck by how slow the big PHP frameworks are compared to raw PHP. Either nobody cares about making those tests perform better, or something is very wrong in the architecture of those frameworks. I expect the cause is that too much code is being loaded for every request. PHP tears down and rebuilds the world for every request, and the popular frameworks load a lot of code and instantiate a lot of objec…
PHP frameworks generally rely on heavy amounts of caching at every level (database, bytecode, Varnish, etc) to make up for this. Why this is the status quo is something I also question.