We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1ac55 commit c0cb27eCopy full SHA for c0cb27e
collector/runtime-benchmarks/nbody/src/main.rs
@@ -1,12 +1,11 @@
1
-//! Calculates the N-body simulation.
2
-//! Code taken from https://github.com/prestontw/rust-nbody
3
-
4
use benchlib::benchmark::run_benchmark_group;
5
6
mod nbody;
7
8
fn main() {
9
run_benchmark_group(|group| {
+ // Calculates the N-body simulation.
+ // Code taken from https://github.com/prestontw/rust-nbody
10
group.register_benchmark("nbody_5k", || {
11
let mut nbody = nbody::init(5000);
12
|| {
0 commit comments