diff --git a/Cargo.toml b/Cargo.toml index fcb0edf008acaf09b9247899e02dbacf79b740bd..052b987ff0db5ae62486d6b9f3e48bd0398b93fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,7 @@ built = "0.5" debug = false lto = true opt-level = 3 +codegen-units = 1 [workspace] members = [".", "frontends/sdl"] diff --git a/frontends/sdl/src/main.rs b/frontends/sdl/src/main.rs index fd54138eb28bf8bdd86e1c7d416a0c7ed388bc0c..9eab7f90820b36747a9447f2ac95c40f85731489 100644 --- a/frontends/sdl/src/main.rs +++ b/frontends/sdl/src/main.rs @@ -662,13 +662,6 @@ struct Args { )] benchmark_count: usize, - #[arg( - long, - default_value_t = 1, - help = "The size of the benchmark in chunks" - )] - benchmark_chunk: usize, - #[arg(long, default_value_t = false, help = "Run benchmark only for the CPU")] benchmark_cpu: bool, @@ -745,7 +738,7 @@ fn main() { if args.benchmark { emulator.run_benchmark(&Benchmark::new( args.benchmark_count, - Some(args.benchmark_chunk), + None, Some(args.benchmark_cpu), )); } else if args.headless {