leon0399 / benchmarks

World's complete programming language benchmark
https://leon0399.ru/experiments/benchmarks/
MIT License
4 stars 1 forks source link

Sweep: Add primes/Simple benchmark in Go #32

Open leon0399 opened 3 weeks ago

leon0399 commented 3 weeks ago

Details

Details

Implement primes/Simple benchmark in Go, and put it into go/primes/Simple.go.

You MUST implement it exactly in the same way as in other language examples, without any optimizations: php/primes/Simple.php, c-plus-plus/mandelbrot/Simple.cpp. Add script to go/benchmark.yaml. Exact logical implementation is required to correctly compare multiple languages against each other.

Here are other examples of our Go code: go/treap/Naive.go. Use it to see how collect and report execution time.

sweep-ai[bot] commented 3 weeks ago
Sweeping

0%
💎 Sweep Pro: You have unlimited Sweep issues

Actions


[!TIP] To recreate the pull request, edit the issue title or description.