@@ -55,35 +55,38 @@ static void BM_ATLAS_Decompress(benchmark::State &state, int algo, std::string f
5555 gSystem ->Exec ((" rm -f " + new_filename).c_str ());
5656}
5757
58-
59- static void BM_ATLAS_Decompress_Real_ZLIB (benchmark::State &state) {
60- BM_ATLAS_Decompress (state, 1 , " atlasopendata_DataMuons" );
61- }
62- static void BM_ATLAS_Decompress_Real_LZMA (benchmark::State &state) {
63- BM_ATLAS_Decompress (state, 2 , " atlasopendata_DataMuons" );
64- }
65- static void BM_ATLAS_Decompress_Real_LZ4 (benchmark::State &state) {
66- BM_ATLAS_Decompress (state, 4 , " atlasopendata_DataMuons" );
67- }
68- static void BM_ATLAS_Decompress_Real_ZSTD (benchmark::State &state) {
69- BM_ATLAS_Decompress (state, 5 , " atlasopendata_DataMuons" );
70- }
71-
72- BENCHMARK (BM_ATLAS_Decompress_Real_ZLIB)
73- ->Arg(1 )->Arg(6 )->Arg(9 )
74- ->Unit(benchmark::kMillisecond )->Iterations(3 );
75-
76- BENCHMARK (BM_ATLAS_Decompress_Real_LZMA)
77- ->Arg(1 )->Arg(6 )->Arg(9 )
78- ->Unit(benchmark::kMillisecond )->Iterations(3 );
79-
80- BENCHMARK (BM_ATLAS_Decompress_Real_LZ4)
81- ->Arg(1 )->Arg(6 )->Arg(9 )
82- ->Unit(benchmark::kMillisecond )->Iterations(3 );
83-
84- BENCHMARK (BM_ATLAS_Decompress_Real_ZSTD)
85- ->Arg(1 )->Arg(6 )->Arg(9 )
86- ->Unit(benchmark::kMillisecond )->Iterations(3 );
58+ // Benchmarks for ATLAS files of experimental (real) data are temporarily disabled
59+ // because it takes very long time.
60+ // TODO: find smaller file
61+
62+ // static void BM_ATLAS_Decompress_Real_ZLIB(benchmark::State &state) {
63+ // BM_ATLAS_Decompress(state, 1, "atlasopendata_DataMuons");
64+ // }
65+ // static void BM_ATLAS_Decompress_Real_LZMA(benchmark::State &state) {
66+ // BM_ATLAS_Decompress(state, 2, "atlasopendata_DataMuons");
67+ // }
68+ // static void BM_ATLAS_Decompress_Real_LZ4(benchmark::State &state) {
69+ // BM_ATLAS_Decompress(state, 4, "atlasopendata_DataMuons");
70+ // }
71+ // static void BM_ATLAS_Decompress_Real_ZSTD(benchmark::State &state) {
72+ // BM_ATLAS_Decompress(state, 5, "atlasopendata_DataMuons");
73+ // }
74+
75+ // BENCHMARK(BM_ATLAS_Decompress_Real_ZLIB)
76+ // ->Arg(1)->Arg(6)->Arg(9)
77+ // ->Unit(benchmark::kMillisecond)->Iterations(3);
78+
79+ // BENCHMARK(BM_ATLAS_Decompress_Real_LZMA)
80+ // ->Arg(1)->Arg(6)->Arg(9)
81+ // ->Unit(benchmark::kMillisecond)->Iterations(3);
82+
83+ // BENCHMARK(BM_ATLAS_Decompress_Real_LZ4)
84+ // ->Arg(1)->Arg(6)->Arg(9)
85+ // ->Unit(benchmark::kMillisecond)->Iterations(3);
86+
87+ // BENCHMARK(BM_ATLAS_Decompress_Real_ZSTD)
88+ // ->Arg(1)->Arg(6)->Arg(9)
89+ // ->Unit(benchmark::kMillisecond)->Iterations(3);
8790
8891
8992static void BM_ATLAS_Decompress_MC_ZLIB (benchmark::State &state) {
@@ -101,19 +104,19 @@ static void BM_ATLAS_Decompress_MC_ZSTD(benchmark::State &state) {
101104
102105BENCHMARK (BM_ATLAS_Decompress_MC_ZLIB)
103106->Arg(1 )->Arg(6 )->Arg(9 )
104- ->Unit(benchmark::kMillisecond )->Iterations(3 );
107+ ->Unit(benchmark::kMillisecond )->Iterations(2 );
105108
106109BENCHMARK (BM_ATLAS_Decompress_MC_LZMA)
107110->Arg(1 )->Arg(6 )->Arg(9 )
108- ->Unit(benchmark::kMillisecond )->Iterations(3 );
111+ ->Unit(benchmark::kMillisecond )->Iterations(2 );
109112
110113BENCHMARK (BM_ATLAS_Decompress_MC_LZ4)
111114->Arg(1 )->Arg(6 )->Arg(9 )
112- ->Unit(benchmark::kMillisecond )->Iterations(3 );
115+ ->Unit(benchmark::kMillisecond )->Iterations(2 );
113116
114117BENCHMARK (BM_ATLAS_Decompress_MC_ZSTD)
115118->Arg(1 )->Arg(6 )->Arg(9 )
116- ->Unit(benchmark::kMillisecond )->Iterations(3 );
119+ ->Unit(benchmark::kMillisecond )->Iterations(2 );
117120
118121
119122BENCHMARK_MAIN ();
0 commit comments