Skip to content

Commit c0cb27e

Browse files
committed
Move nbody description to a normal comment
For consistency with other benchmarks
1 parent 5d1ac55 commit c0cb27e

File tree

1 file changed

+2
-3
lines changed
  • collector/runtime-benchmarks/nbody/src

1 file changed

+2
-3
lines changed

collector/runtime-benchmarks/nbody/src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
//! Calculates the N-body simulation.
2-
//! Code taken from https://github.com/prestontw/rust-nbody
3-
41
use benchlib::benchmark::run_benchmark_group;
52

63
mod nbody;
74

85
fn main() {
96
run_benchmark_group(|group| {
7+
// Calculates the N-body simulation.
8+
// Code taken from https://github.com/prestontw/rust-nbody
109
group.register_benchmark("nbody_5k", || {
1110
let mut nbody = nbody::init(5000);
1211
|| {

0 commit comments

Comments
 (0)