@@ -18,7 +18,7 @@ fn bench_cpython_code(b: &mut Bencher, source: &str) {
1818 } )
1919}
2020
21- fn bench_rustpy_code ( b : & mut Bencher , name : & str , source : & str ) {
21+ fn bench_rustpython_code ( b : & mut Bencher , name : & str , source : & str ) {
2222 // NOTE: Take long time.
2323 let mut settings = Settings :: default ( ) ;
2424 settings. path_list . push ( "Lib/" . to_string ( ) ) ;
@@ -41,7 +41,7 @@ pub fn benchmark_file_execution(group: &mut BenchmarkGroup<WallTime>, name: &str
4141 bench_cpython_code ( b, contents)
4242 } ) ;
4343 group. bench_function ( BenchmarkId :: new ( name, "rustpython" ) , |b| {
44- bench_rustpy_code ( b, name, contents)
44+ bench_rustpython_code ( b, name, contents)
4545 } ) ;
4646}
4747
@@ -77,7 +77,7 @@ pub fn benchmark_pystone(group: &mut BenchmarkGroup<WallTime>, contents: String)
7777 bench_cpython_code ( b, code_str)
7878 } ) ;
7979 group. bench_function ( BenchmarkId :: new ( "rustpython" , idx) , |b| {
80- bench_rustpy_code ( b, "pystone" , code_str)
80+ bench_rustpython_code ( b, "pystone" , code_str)
8181 } ) ;
8282 }
8383}
0 commit comments