iustin / perf-null

Compares startup costs for various languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perf-null

This is a set of small programs for testing startup costs using perf.

Yes, this is mostly pointless, but it was fun to do it and to look at the numbers.

You'll need lots of packages installed to make all of the programs to work. They should all be available in (Debian) Sid:

  • java: openjdk-6-jdk openjdk-6-jre-zero icedtea-6-jre-cacao icedtea-6-jre-jamvm gcj-4.6 gcj-4.8 gcj-4.9 gcj-5
  • python: python2.7 python3.4 pypy
  • etc.

Main target is make log, and it is recommended to run it via ./run.sh, which is a simple wrapper that should make runs more consistent. A simple test run (to check that all binaries/scripts run correctly) can be done via make test.

Note: all the extremely trivial code here is under the Apache License, Version 2.0. See LICENSE.

About

Compares startup costs for various languages

License:Apache License 2.0


Languages

Language:Makefile 70.5%Language:Awk 6.8%Language:Shell 5.4%Language:Assembly 5.2%Language:C 2.5%Language:Haskell 2.2%Language:Java 2.1%Language:PHP 1.6%Language:Python 1.2%Language:Lua 0.9%Language:Ruby 0.8%Language:Perl 0.6%Language:OCaml 0.2%