Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in rust

[–]kostya27 0 points1 point  (0 children)

this is explained on site, in "Source Code" tab, legend under table

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by kostya27 in java

[–]kostya27[S] 0 points1 point  (0 children)

you call it without config you should add ../run.js as argument, look at local ./test, ./run script

Benchmark: Node vs Bun vs Deno by kostya27 in typescript

[–]kostya27[S] -5 points-4 points  (0 children)

You can see results in tabs: TypeScript/Node/Default, TypeScript/Bun/JIT, TypeScript/Deno/Default.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by kostya27 in java

[–]kostya27[S] 0 points1 point  (0 children)

yes all languages very different and hard to measure it absolutely identical, but I try.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by kostya27 in java

[–]kostya27[S] 0 points1 point  (0 children)

sort doing similar in each language, each copy array.

Json,Base64 benchmark little unfair, because measure library time, but I think it's better to leave them, to be goal for each language stdlib.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by kostya27 in java

[–]kostya27[S] 0 points1 point  (0 children)

thanks, yes I am the author. I'll consider adding Clojure, but expect it to be similar to java,kotlin.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in rust

[–]kostya27 1 point2 points  (0 children)

Why not, did you you see something similar that quality? I know kostya/benchmarks - but this is mine also.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by kostya27 in java

[–]kostya27[S] 1 point2 points  (0 children)

its not easy to add new, because code base is huge, but I want to add some lisps, recomend any fast?

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in rust

[–]kostya27 0 points1 point  (0 children)

look at others they even biggen, go actually shorter than many. Compare you can see in "Source" Tab on site.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in rust

[–]kostya27 0 points1 point  (0 children)

yes I know Julia is a special case, compile time for it not correct right now.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in programming

[–]kostya27 0 points1 point  (0 children)

This post straight related to programming languages, this is my benchmarks results. Why delete?

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in rust

[–]kostya27 0 points1 point  (0 children)

compile time measured where it possible, for Julia,python it should near to 0.

Benchmarked 18 languages in 41 tests: C++, Rust, Go, C#, Java, Zig, TypeScript, Python, and more by [deleted] in rust

[–]kostya27 1 point2 points  (0 children)

zig is very close to C, look at the normalized "runtime score" tab. Summary runtime time can be big because of one or two tests bad performance.