Latency of a web service that stores a large hashtable, in multiple languages
Shell
43
37 commits
updated Apr 24, 2023
This benchmark measures the latency of a web service that stores a large (250K item) hashtable, in multiple languages.
Garbage collected languages are of greater interest, and the Swift version is mostly used as a reference of what would be ideal.
build.sh and run.shwrk2reports directory.
refmt first). Follow the
instructions here: https://ocaml.org/docs/install.htmlBuffer.alloc API)Want to build low-latency, memory-intensive services in a GCed language? Use OCaml (or Reason if you prefer the syntax).
Other things that were attempted to make the latency worse for OCaml:
Shell
19.7%
Rust
16.9%
Haskell
15.7%
Swift
10.2%
Reason
8.3%
OCaml
7.8%
Python
6.8%
Go
6.4%
JavaScript
4.4%
CMake
3.8%
Latency of a web service that stores a large hashtable, in multiple languages
Shell
43
37 commits
updated Apr 24, 2023
This benchmark measures the latency of a web service that stores a large (250K item) hashtable, in multiple languages.
Garbage collected languages are of greater interest, and the Swift version is mostly used as a reference of what would be ideal.
build.sh and run.shwrk2reports directory.
refmt first). Follow the
instructions here: https://ocaml.org/docs/install.htmlBuffer.alloc API)Want to build low-latency, memory-intensive services in a GCed language? Use OCaml (or Reason if you prefer the syntax).
Other things that were attempted to make the latency worse for OCaml:
Shell
19.7%
Rust
16.9%
Haskell
15.7%
Swift
10.2%
Reason
8.3%
OCaml
7.8%
Python
6.8%
Go
6.4%
JavaScript
4.4%
CMake
3.8%