gabjauf / benchmarks

Some benchmarks of different languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of Content

Overview

The benchmarks follow the criteria:

  • They are written as the average software developer would write them, i.e.

    • The algorithms are implemented as cited in public sources;
    • The used data structures are idiomatic.
  • The used algorithms are similar between the languages (as the reference implementations), variants are acceptable if the reference implementation exists.

  • All final binaries are releases (optimized for performance if possible) as debug performance may vary too much depending on the compiler.

  • Code should not use any library (because we measure the number of lines of code)

  • Code should not exceed 80 chars per line for the same reason stated above

About

Some benchmarks of different languages

License:MIT License


Languages

Language:TypeScript 36.3%Language:JavaScript 31.9%Language:Dockerfile 17.2%Language:Ruby 11.3%Language:Shell 1.8%Language:CSS 0.6%Language:Zig 0.3%Language:C 0.2%Language:Go 0.2%Language:Pony 0.1%Language:Rust 0.1%Language:Elixir 0.0%Language:V 0.0%Language:Nim 0.0%