@@ -91,15 +91,15 @@ pub fn benchmark_compress(
9191 } ) ;
9292 vortex_compress_time = Some ( time) ;
9393 timings. push ( CompressionTimingMeasurement {
94- name : format ! ( "compress time/{}" , bench_name ) ,
94+ name : format ! ( "compress time/{bench_name}" ) ,
9595 time,
9696 format : Format :: OnDiskVortex ,
9797 } ) ;
9898 progress. inc ( 1 ) ;
9999
100100 let compressed_size_f64 = compressed_size. load ( Ordering :: SeqCst ) as f64 ;
101101 ratios. push ( CustomUnitMeasurement {
102- name : format ! ( "vortex size/{}" , bench_name ) ,
102+ name : format ! ( "vortex size/{bench_name}" ) ,
103103 format : Format :: OnDiskVortex ,
104104 unit : Cow :: from ( "bytes" ) ,
105105 value : compressed_size_f64,
@@ -123,22 +123,22 @@ pub fn benchmark_compress(
123123 } ) ;
124124 parquet_compress_time = Some ( time) ;
125125 timings. push ( CompressionTimingMeasurement {
126- name : format ! ( "compress time/{}" , bench_name ) ,
126+ name : format ! ( "compress time/{bench_name}" ) ,
127127 time,
128128 format : Format :: Parquet ,
129129 } ) ;
130130
131131 progress. inc ( 1 ) ;
132132 let parquet_compressed_size = parquet_compressed_size. into_inner ( ) ;
133133 ratios. push ( CustomUnitMeasurement {
134- name : format ! ( "parquet-zstd size/{}" , bench_name ) ,
134+ name : format ! ( "parquet-zstd size/{bench_name}" ) ,
135135 // unlike timings, ratios have a single column vortex
136136 format : Format :: OnDiskVortex ,
137137 unit : Cow :: from ( "bytes" ) ,
138138 value : parquet_compressed_size as f64 ,
139139 } ) ;
140140 ratios. push ( CustomUnitMeasurement {
141- name : format ! ( "vortex:parquet-zstd size/{}" , bench_name ) ,
141+ name : format ! ( "vortex:parquet-zstd size/{bench_name}" ) ,
142142 format : Format :: OnDiskVortex ,
143143 unit : Cow :: from ( "ratio" ) ,
144144 value : compressed_size. load ( Ordering :: SeqCst ) as f64 / parquet_compressed_size as f64 ,
@@ -161,7 +161,7 @@ pub fn benchmark_compress(
161161 } ) ;
162162 vortex_decompress_time = Some ( time) ;
163163 timings. push ( CompressionTimingMeasurement {
164- name : format ! ( "decompress time/{}" , bench_name ) ,
164+ name : format ! ( "decompress time/{bench_name}" ) ,
165165 time,
166166 format : Format :: OnDiskVortex ,
167167 } ) ;
@@ -188,7 +188,7 @@ pub fn benchmark_compress(
188188 } ) ;
189189 parquet_decompress_time = Some ( time) ;
190190 timings. push ( CompressionTimingMeasurement {
191- name : format ! ( "decompress time/{}" , bench_name ) ,
191+ name : format ! ( "decompress time/{bench_name}" ) ,
192192 time,
193193 format : Format :: Parquet ,
194194 } ) ;
@@ -197,7 +197,7 @@ pub fn benchmark_compress(
197197
198198 if let Some ( ( vortex, parquet) ) = vortex_compress_time. zip ( parquet_compress_time) {
199199 ratios. push ( CustomUnitMeasurement {
200- name : format ! ( "vortex:parquet-zstd ratio compress time/{}" , bench_name ) ,
200+ name : format ! ( "vortex:parquet-zstd ratio compress time/{bench_name}" ) ,
201201 format : Format :: OnDiskVortex ,
202202 unit : Cow :: from ( "ratio" ) ,
203203 value : vortex. as_nanos ( ) as f64 / parquet. as_nanos ( ) as f64 ,
@@ -206,7 +206,7 @@ pub fn benchmark_compress(
206206
207207 if let Some ( ( vortex, parquet) ) = vortex_decompress_time. zip ( parquet_decompress_time) {
208208 ratios. push ( CustomUnitMeasurement {
209- name : format ! ( "vortex:parquet-zstd ratio decompress time/{}" , bench_name ) ,
209+ name : format ! ( "vortex:parquet-zstd ratio decompress time/{bench_name}" ) ,
210210 format : Format :: OnDiskVortex ,
211211 unit : Cow :: from ( "ratio" ) ,
212212 value : vortex. as_nanos ( ) as f64 / parquet. as_nanos ( ) as f64 ,
0 commit comments