Skip to content

Commit

Permalink
Building benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiewior committed Dec 30, 2024
1 parent 01050bc commit 3ef82f5
Show file tree
Hide file tree
Showing 17 changed files with 1,190 additions and 128 deletions.
58 changes: 58 additions & 0 deletions benchmark/results/apple-silicon/0-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"inputs": {
"df_1_num": 2350965,
"df_2_num": 198621
},
"output_num": 320955,
"results": [
{
"name": "bioframe",
"min": 0.4824440833326662,
"max": 0.4864661946630804,
"mean": 0.48469012044208487,
"speedup": 0.16860836806000543
},
{
"name": "polars_bio",
"min": 0.09075104166792396,
"max": 0.09702943066561905,
"mean": 0.09311920377755693,
"speedup": 0.8776150021403402
},
{
"name": "pyranges0",
"min": 0.07799816666617214,
"max": 0.08790026399947237,
"mean": 0.0817228102225474,
"speedup": 1.0
},
{
"name": "pyranges1",
"min": 0.23589159733577011,
"max": 0.2378742219977236,
"mean": 0.23700583333427658,
"speedup": 0.344813497089265
},
{
"name": "pybedtools0",
"min": 1.4111382639966905,
"max": 1.4246090833330527,
"mean": 1.416416699110414,
"speedup": 0.05769687004811066
},
{
"name": "pygenomics",
"min": 1.390716375002133,
"max": 1.402293403002356,
"mean": 1.395175759334557,
"speedup": 0.05857527962034397
},
{
"name": "genomicranges",
"min": 4.046394958335441,
"max": 4.0558332916649915,
"mean": 4.050494356556253,
"speedup": 0.020176008908707254
}
]
}
58 changes: 58 additions & 0 deletions benchmark/results/apple-silicon/0-7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"inputs": {
"df_1_num": 2350965,
"df_2_num": 1194285
},
"output_num": 2761621,
"results": [
{
"name": "bioframe",
"min": 0.2980392776662484,
"max": 0.30927084732684307,
"mean": 0.30290485188662486,
"speedup": 0.29821783673328733
},
{
"name": "polars_bio",
"min": 0.08932411100249738,
"max": 0.09219969466600257,
"mean": 0.09033162966564608,
"speedup": 1.0
},
{
"name": "pyranges0",
"min": 0.09647758333206487,
"max": 0.10345558333210647,
"mean": 0.10102296299818488,
"speedup": 0.8941692758236471
},
{
"name": "pyranges1",
"min": 0.19562062499850677,
"max": 0.19802473599944884,
"mean": 0.19714646755407253,
"speedup": 0.45819552734755586
},
{
"name": "pybedtools0",
"min": 1.0045766390006368,
"max": 1.0130972083328136,
"mean": 1.0077013518894091,
"speedup": 0.08964127069620086
},
{
"name": "pygenomics",
"min": 4.264574694330804,
"max": 4.275965152997135,
"mean": 4.26905469455394,
"speedup": 0.021159632782611733
},
{
"name": "genomicranges",
"min": 2.919674833334284,
"max": 2.9267854306672234,
"mean": 2.9235494306647323,
"speedup": 0.0308979313700563
}
]
}
58 changes: 58 additions & 0 deletions benchmark/results/apple-silicon/0-8.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"inputs": {
"df_1_num": 2350965,
"df_2_num": 9944559
},
"output_num": 164196784,
"results": [
{
"name": "bioframe",
"min": 15.630508430331247,
"max": 16.719792805665445,
"mean": 16.080008865665555,
"speedup": 0.18642745012968612
},
{
"name": "polars_bio",
"min": 2.882899638667974,
"max": 3.1351002083344306,
"mean": 2.997755050888776,
"speedup": 1.0
},
{
"name": "pyranges0",
"min": 9.276095166666588,
"max": 10.15810941666617,
"mean": 9.761879657443691,
"speedup": 0.30708789250468876
},
{
"name": "pyranges1",
"min": 13.076820124998145,
"max": 13.510233986002277,
"mean": 13.329948374999931,
"speedup": 0.22488872173811336
},
{
"name": "pybedtools0",
"min": 322.9229150833368,
"max": 335.12307094466814,
"mean": 329.65914210189015,
"speedup": 0.00909349891459172
},
{
"name": "pygenomics",
"min": 128.84953573599827,
"max": 132.10968911099675,
"mean": 130.08909561566543,
"speedup": 0.02304386110689345
},
{
"name": "genomicranges",
"min": 234.23743527799766,
"max": 239.3151572223384,
"mean": 236.504564745557,
"speedup": 0.012675252395715514
}
]
}
58 changes: 58 additions & 0 deletions benchmark/results/apple-silicon/1-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"inputs": {
"df_1_num": 198621,
"df_2_num": 438694
},
"output_num": 54246,
"results": [
{
"name": "bioframe",
"min": 0.10073762500057153,
"max": 0.10154148600122426,
"mean": 0.10111909722197905,
"speedup": 0.25305574464594827
},
{
"name": "polars_bio",
"min": 0.032156180668001376,
"max": 0.0355005000019446,
"mean": 0.03339360188854496,
"speedup": 0.7662775800837371
},
{
"name": "pyranges0",
"min": 0.024099944668705575,
"max": 0.02827072200307157,
"mean": 0.025588768445433948,
"speedup": 1.0
},
{
"name": "pyranges1",
"min": 0.05377036133237804,
"max": 0.054647471998274945,
"mean": 0.05412140744253217,
"speedup": 0.472803085777193
},
{
"name": "pybedtools0",
"min": 0.2819691666663857,
"max": 0.2833851113343068,
"mean": 0.28285702322156997,
"speedup": 0.09046538125160689
},
{
"name": "pygenomics",
"min": 1.4249745693329412,
"max": 1.436369222336604,
"mean": 1.430531254667181,
"speedup": 0.0178875983044406
},
{
"name": "genomicranges",
"min": 0.9727168609970249,
"max": 0.9790132083338298,
"mean": 0.9757608008868476,
"speedup": 0.0262244275668554
}
]
}
58 changes: 58 additions & 0 deletions benchmark/results/apple-silicon/2-7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"inputs": {
"df_1_num": 438694,
"df_2_num": 1194285
},
"output_num": 273500,
"results": [
{
"name": "bioframe",
"min": 0.2980392776662484,
"max": 0.30927084732684307,
"mean": 0.30290485188662486,
"speedup": 0.29821783673328733
},
{
"name": "polars_bio",
"min": 0.08932411100249738,
"max": 0.09219969466600257,
"mean": 0.09033162966564608,
"speedup": 1.0
},
{
"name": "pyranges0",
"min": 0.09647758333206487,
"max": 0.10345558333210647,
"mean": 0.10102296299818488,
"speedup": 0.8941692758236471
},
{
"name": "pyranges1",
"min": 0.19562062499850677,
"max": 0.19802473599944884,
"mean": 0.19714646755407253,
"speedup": 0.45819552734755586
},
{
"name": "pybedtools0",
"min": 1.0045766390006368,
"max": 1.0130972083328136,
"mean": 1.0077013518894091,
"speedup": 0.08964127069620086
},
{
"name": "pygenomics",
"min": 4.264574694330804,
"max": 4.275965152997135,
"mean": 4.26905469455394,
"speedup": 0.021159632782611733
},
{
"name": "genomicranges",
"min": 2.919674833334284,
"max": 2.9267854306672234,
"mean": 2.9235494306647323,
"speedup": 0.0308979313700563
}
]
}
58 changes: 58 additions & 0 deletions benchmark/results/apple-silicon/3-7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"inputs": {
"df_1_num": 1956864,
"df_2_num": 1194285
},
"output_num": 4408383,
"results": [
{
"name": "bioframe",
"min": 0.9651126806663038,
"max": 0.9735246386650639,
"mean": 0.9680251064419281,
"speedup": 0.21091899669168662
},
{
"name": "polars_bio",
"min": 0.19807397232701382,
"max": 0.21415665267462222,
"mean": 0.20417488422309463,
"speedup": 1.0
},
{
"name": "pyranges0",
"min": 0.299306430669579,
"max": 0.3361351666681003,
"mean": 0.3225051574441345,
"speedup": 0.6330902917683185
},
{
"name": "pyranges1",
"min": 1.0402721390031122,
"max": 1.0440249723324087,
"mean": 1.0427527454448864,
"speedup": 0.1958037369021591
},
{
"name": "pybedtools0",
"min": 8.970137541667404,
"max": 9.048951763669416,
"mean": 9.003954847223618,
"speedup": 0.02267613373095182
},
{
"name": "pygenomics",
"min": 8.626979291671887,
"max": 8.637451514000228,
"mean": 8.632298328781163,
"speedup": 0.023652436054295067
},
{
"name": "genomicranges",
"min": 10.57524026366688,
"max": 10.5942114443363,
"mean": 10.584906157222576,
"speedup": 0.019289248406210626
}
]
}
Loading

0 comments on commit 3ef82f5

Please sign in to comment.