4 ms·
Disclaimer: I'm the author of Nawak, so I'm pretty excited about this. The Nimrod programming language is finally featured for the db tests (at least on i7. No
by idlewan 12y ago
Disclaimer: I'm the author of Nawak, so I'm pretty excited about this.
The Nimrod programming language is finally featured for the db tests (at least on i7. Not sure what happened with ec2 and peak, as neither jester nor nawak seem to appears in the results).
It fares pretty well when the database is involved.
Look for the nawak micro-framework, in the top 10 both for fortunes:
http://www.techempower.com/benchmarks/#section=data-r9&hw=i7&test=fortune http://www.techempower.com/benchmarks/#section=data-r9&hw=i7...
and updates:
http://www.techempower.com/benchmarks/#section=data-r9&hw=i7&test=update http://www.techempower.com/benchmarks/#section=data-r9&hw=i7... )
And there is room to grow. That micro-framework will not be the best for the json or plaintext tests, but once the database needs to be involved, it is trivial to add more concurrency: firing up more workers (1-3meg each in RAM) acts as an effective database connection pool (1 database connection per worker).
edit: Why should you care? Nawak (https://github.com/idlewan/nawak https://github.com/idlewan/nawak) is a clean micro-framework:
import nawak_mongrel, strutils
get "/":
return response("Hello World!")
get "/user/@username/?":
return response("Hello $1!" % url_params.username)
run()
Benchmark implementation in 100 lines here: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/nawak/nawak_app.nim https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
- dom96 12y ago(Author of Jester here) It's nice to see Nimrod making it high up on the list of the fortunes benchmark. I still have not had the time to properly optimise my framework, or to even write code for the other tests, but I am currently working on a new async module which will be a lot more competitive (an experimental version of it already made it into the latest Nimrod release, see http://nimrod-lang.org/news.html http://nimrod-lang.org/news.html). In any case it's nice to see that others are creating their own Nimrod frameworks to compete with mine (thanks idlewan :) ).
- camus2 12y agoNimrod looks interesting,how does it compare to Go, as i see it works without a VM, like Go, and has async programming features.