diff --git a/README.md b/README.md index 8736929..8d0bbd1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ A toy ECS library; works on Windows, macOS, Linux and WebAssembly. ## Benchmark -[Benchmark result](./doc/benchmark.md) +```sh +cargo bench --workspace +``` ## Usage diff --git a/doc/benchmark.md b/doc/benchmark.md deleted file mode 100644 index 60942b9..0000000 --- a/doc/benchmark.md +++ /dev/null @@ -1,23 +0,0 @@ -# Benchmark - -```sh -cargo bench --workspace -``` - -## Result - -![graph](./benchmark.png) - -| Number of entities | 10^2 (ns) | 10^3 (μs) | 10^4 (μs) | 10^5 (μs) | -| ------------------ | --------- | --------- | --------- | --------- | -| xanadu | 184 | 1.39 | 19.4 | 452 | -| bevy_ecs | 242 | 2.01 | 25.7 | 546 | -| specs | 2380 | 10.03 | 43.3 | 610 | -| game_objects_vec | 156 | 2.71 | 40.2 | 1002 | -| game_objects_hash | 252 | 3.38 | 181.2 | 1948 | - -- OS: Windows 11 Home 23H2 -- CPU: Intel Core i7-12700 -- RAM: Samsung DDR4 3200MHz 16GB x 2 - -code: [bench.rs](../benchmark/benches/bench.rs) diff --git a/doc/benchmark.png b/doc/benchmark.png deleted file mode 100644 index d99fbee..0000000 Binary files a/doc/benchmark.png and /dev/null differ