Express vs Flask vs Go vs Sparkjava vs Sinatra
Bijan
20725

Sorry Bijan… but what is the purpose of this? If you want to benchmark the web frameworks you should test with a static text as response or something like that.

Everybody knows Python is not as fast as other languages doing CPU intesive calculations. That’s whay you have numpy, numba and others.

So, what you are testing is something like:

get(request): sleep(a); return “Hello World”

where:

a=10 for Pyhon

a= 0.1 for Go

a= 0.01 for C

Besides, in real life you have challenges by far more complex than the performance of your web framework. I would say that it is even completely the opposite: avoid hitting the web server as much as you can.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.