Datasets:

Modalities:
Image
Libraries:
Datasets
tokenizers-bench / python-baseline.json
ArthurZ's picture
ArthurZ HF Staff
Upload python-baseline.json with huggingface_hub
3f20827 verified
Raw History Blame
51.7 kB
{
"machine_info": {
"node": "runnervmeorf1",
"processor": "x86_64",
"machine": "x86_64",
"python_compiler": "GCC 13.3.0",
"python_implementation": "CPython",
"python_implementation_version": "3.12.3",
"python_version": "3.12.3",
"python_build": [
"main",
"Mar 3 2026 12:15:18"
],
"release": "6.17.0-1010-azure",
"system": "Linux",
"cpu": {
"python_version": "3.12.3.final.0 (64 bit)",
"cpuinfo_version": [
9,
0,
0
],
"cpuinfo_version_string": "9.0.0",
"arch": "X86_64",
"bits": 64,
"count": 4,
"arch_string_raw": "x86_64",
"vendor_id_raw": "AuthenticAMD",
"brand_raw": "AMD EPYC 7763 64-Core Processor",
"hz_advertised_friendly": "3.1981 GHz",
"hz_actual_friendly": "3.1981 GHz",
"hz_advertised": [
3198055000,
0
],
"hz_actual": [
3198055000,
0
],
"stepping": 1,
"model": 1,
"family": 25,
"flags": [
"3dnowext",
"3dnowprefetch",
"abm",
"adx",
"aes",
"aperfmperf",
"apic",
"arat",
"avx",
"avx2",
"bmi1",
"bmi2",
"clflush",
"clflushopt",
"clwb",
"clzero",
"cmov",
"cmp_legacy",
"constant_tsc",
"cpuid",
"cr8_legacy",
"cx16",
"cx8",
"de",
"decodeassists",
"erms",
"extd_apicid",
"f16c",
"flushbyasid",
"fma",
"fpu",
"fsgsbase",
"fsrm",
"fxsr",
"fxsr_opt",
"ht",
"hypervisor",
"invpcid",
"lahf_lm",
"lm",
"mca",
"mce",
"misalignsse",
"mmx",
"mmxext",
"movbe",
"msr",
"mtrr",
"nonstop_tsc",
"nopl",
"npt",
"nrip_save",
"nx",
"osvw",
"osxsave",
"pae",
"pat",
"pausefilter",
"pcid",
"pclmulqdq",
"pdpe1gb",
"pfthreshold",
"pge",
"pni",
"popcnt",
"pse",
"pse36",
"rdpid",
"rdpru",
"rdrand",
"rdrnd",
"rdseed",
"rdtscp",
"rep_good",
"sep",
"sha",
"sha_ni",
"smap",
"smep",
"sse",
"sse2",
"sse4_1",
"sse4_2",
"sse4a",
"ssse3",
"svm",
"syscall",
"topoext",
"tsc",
"tsc_known_freq",
"tsc_reliable",
"tsc_scale",
"umip",
"user_shstk",
"v_vmsave_vmload",
"vaes",
"vmcb_clean",
"vme",
"vmmcall",
"vpclmulqdq",
"xgetbv1",
"xsave",
"xsavec",
"xsaveerptr",
"xsaveopt",
"xsaves"
],
"l3_cache_size": 524288,
"l2_cache_size": 1048576,
"l1_data_cache_size": 65536,
"l1_instruction_cache_size": 65536,
"l2_cache_line_size": 512,
"l2_cache_associativity": 6
}
},
"commit_info": {
"id": "bcdd25b97fcd78549903082ecf3ddd87d42c456b",
"time": "2026-04-23T05:55:33+02:00",
"author_time": "2026-04-22T22:55:33-05:00",
"dirty": false,
"project": "tokenizers",
"branch": "main"
},
"benchmarks": [
{
"group": null,
"name": "test_encode",
"fullname": "tests/test_benchmarks.py::TestBPEGPT2::test_encode",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 2.336067079999964,
"max": 2.6267086080000013,
"mean": 2.3869139348000035,
"stddev": 0.06992862554692253,
"rounds": 15,
"median": 2.373051083000007,
"iqr": 0.03914797150000027,
"q1": 2.3508709004999986,
"q3": 2.390018871999999,
"iqr_outliers": 1,
"stddev_outliers": 1,
"outliers": "1;1",
"ld15iqr": 2.336067079999964,
"hd15iqr": 2.6267086080000013,
"ops": 0.41895100842158717,
"total": 35.80370902200005,
"data": [
2.3862380289999976,
2.4058008709999967,
2.3831461549999915,
2.3912791529999993,
2.407562363000011,
2.353966251999992,
2.3804035370000065,
2.3603763900000274,
2.3505937909999943,
2.350346746000014,
2.6267086080000013,
2.3517022290000114,
2.336067079999964,
2.373051083000007,
2.3464667350000354
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch",
"fullname": "tests/test_benchmarks.py::TestBPEGPT2::test_encode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.188934492000044,
"max": 1.2051833559999636,
"mean": 1.1942092797999977,
"stddev": 0.004832198783892095,
"rounds": 15,
"median": 1.1930152150000026,
"iqr": 0.0040144275000102425,
"q1": 1.1910000354999823,
"q3": 1.1950144629999926,
"iqr_outliers": 2,
"stddev_outliers": 3,
"outliers": "3;2",
"ld15iqr": 1.188934492000044,
"hd15iqr": 1.20414021900001,
"ops": 0.8373741662495512,
"total": 17.913139196999964,
"data": [
1.20414021900001,
1.188934492000044,
1.194342727999981,
1.191850316,
1.2051833559999636,
1.1945144320000054,
1.1930152150000026,
1.1909601979999707,
1.1946226359999628,
1.190298562999999,
1.1902669739999965,
1.1951450720000025,
1.1976041990000112,
1.1911195480000174,
1.1911412489999975
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch_multithreaded",
"fullname": "tests/test_benchmarks.py::TestBPEGPT2::test_encode_batch_multithreaded",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.1819287630000304,
"max": 1.2350789519999807,
"mean": 1.1978475423999915,
"stddev": 0.015001588400383417,
"rounds": 15,
"median": 1.1912466349999704,
"iqr": 0.022963951000036786,
"q1": 1.1855943694999667,
"q3": 1.2085583205000034,
"iqr_outliers": 0,
"stddev_outliers": 3,
"outliers": "3;0",
"ld15iqr": 1.1819287630000304,
"hd15iqr": 1.2350789519999807,
"ops": 0.834830781550391,
"total": 17.967713135999873,
"data": [
1.1849759989999598,
1.1844050459999949,
1.1819287630000304,
1.1912466349999704,
1.2350789519999807,
1.1874494809999874,
1.216247715999998,
1.2099425689999634,
1.1963052730000072,
1.1982913539999913,
1.184514446000037,
1.1911904329999743,
1.189119952999988,
1.208608383000012,
1.2084081329999776
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 2.6451776620000373,
"max": 2.7315375929999846,
"mean": 2.6770823978000067,
"stddev": 0.01914812104595534,
"rounds": 15,
"median": 2.67740760800001,
"iqr": 0.012737724000018602,
"q1": 2.6678987685000237,
"q3": 2.6806364925000423,
"iqr_outliers": 2,
"stddev_outliers": 2,
"outliers": "2;2",
"ld15iqr": 2.660175358999993,
"hd15iqr": 2.7315375929999846,
"ops": 0.3735409865687316,
"total": 40.1562359670001,
"data": [
2.6451776620000373,
2.6785709839999754,
2.667781914000045,
2.660347494000007,
2.6682493319999594,
2.6755299040000295,
2.695989833999988,
2.67740760800001,
2.6785087979999957,
2.6820563729999662,
2.679792057000043,
2.6741930840000236,
2.7315375929999846,
2.660175358999993,
2.680917971000042
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.2828054539999698,
"max": 1.362804522000033,
"mean": 1.3252220456666577,
"stddev": 0.023658153093383174,
"rounds": 15,
"median": 1.3191874359999929,
"iqr": 0.0342758980000184,
"q1": 1.310177402999983,
"q3": 1.3444533010000015,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 1.2828054539999698,
"hd15iqr": 1.362804522000033,
"ops": 0.7545905256178759,
"total": 19.878330684999867,
"data": [
1.3261450719999743,
1.3395740199999864,
1.362804522000033,
1.3189451759999997,
1.3460797280000065,
1.3006280399999923,
1.3031461530000001,
1.3191874359999929,
1.3623177790000227,
1.2828054539999698,
1.355365605999964,
1.309100538999985,
1.3250097929999924,
1.31381337199997,
1.3134079949999773
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_fast",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode_fast",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.0413910350000037,
"max": 1.1156356010000081,
"mean": 1.0604596167333284,
"stddev": 0.01994073865531959,
"rounds": 15,
"median": 1.053913792000003,
"iqr": 0.021298569000009593,
"q1": 1.0461949854999801,
"q3": 1.0674935544999897,
"iqr_outliers": 1,
"stddev_outliers": 2,
"outliers": "2;1",
"ld15iqr": 1.0413910350000037,
"hd15iqr": 1.1156356010000081,
"ops": 0.9429873464492972,
"total": 15.906894250999926,
"data": [
1.0430476880000015,
1.053913792000003,
1.0524609670000018,
1.053148722000003,
1.085746716000017,
1.058084038000004,
1.0585304619999647,
1.0766945709999618,
1.1156356010000081,
1.0696351189999973,
1.061068860999967,
1.044320875999972,
1.0413984890000165,
1.0518173140000044,
1.0413910350000037
],
"iterations": 1
}
},
{
"group": null,
"name": "test_encode_batch_multithreaded",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_encode_batch_multithreaded",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.3123562039999683,
"max": 1.3448872889999848,
"mean": 1.3303013795333338,
"stddev": 0.010511078129296504,
"rounds": 15,
"median": 1.330793798000002,
"iqr": 0.017832354500001202,
"q1": 1.3206773565000134,
"q3": 1.3385097110000146,
"iqr_outliers": 0,
"stddev_outliers": 7,
"outliers": "7;0",
"ld15iqr": 1.3123562039999683,
"hd15iqr": 1.3448872889999848,
"ops": 0.751709361040276,
"total": 19.954520693000006,
"data": [
1.319179608000013,
1.3372840369999608,
1.3331527899999855,
1.3431932960000381,
1.330793798000002,
1.3448872889999848,
1.3166496030000303,
1.3350027289999957,
1.3305318849999708,
1.3300758070000143,
1.3389182690000325,
1.3418992459999686,
1.3154255300000273,
1.3251706020000142,
1.3123562039999683
],
"iterations": 1
}
},
{
"group": null,
"name": "test_decode_batch",
"fullname": "tests/test_benchmarks.py::TestLlama3::test_decode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.0023283989999640653,
"max": 0.0026778810000109843,
"mean": 0.0024368867324328124,
"stddev": 6.681517498776431e-05,
"rounds": 370,
"median": 0.002425233999986176,
"iqr": 7.630200002495258e-05,
"q1": 0.0023849739999945996,
"q3": 0.002461276000019552,
"iqr_outliers": 21,
"stddev_outliers": 100,
"outliers": "100;21",
"ld15iqr": 0.0023283989999640653,
"hd15iqr": 0.002576390999990963,
"ops": 410.3596554943988,
"total": 0.9016480910001405,
"data": [
0.0026778810000109843,
0.002552205999961643,
0.0024449359999607623,
0.0024483720000034737,
0.0024444750000043314,
0.0023768690000451898,
0.00240898799995648,
0.0024377929999559456,
0.0023710170000299513,
0.0024383939999665927,
0.002477967000004355,
0.0024303379999537356,
0.00237776100004794,
0.0023729210000169587,
0.0024494040000035966,
0.002462438000009115,
0.002419970000005378,
0.0023916259999623435,
0.0023849930000210406,
0.002414840000028562,
0.002407456000014463,
0.00243156099998032,
0.0023520820000157983,
0.002588603999981842,
0.0024534210000410894,
0.0023930490000338978,
0.00248123400001532,
0.0023666799999659816,
0.002426851999985047,
0.002434717000028286,
0.0025664030000029925,
0.002372030000003633,
0.00241097200000695,
0.0024407779999933155,
0.0023998820000201704,
0.0023824389999731466,
0.002350679000016953,
0.002543189999983042,
0.0023601070000154323,
0.0023326760000372815,
0.0025569250000216925,
0.0023695749999887994,
0.0023945920000301157,
0.0023506800000063777,
0.0023809959999994135,
0.0023770590000253833,
0.002382209000018065,
0.002482396000004883,
0.0024919239999690035,
0.0024116440000057082,
0.0024829769999996643,
0.0023563099999819315,
0.0024299380000343263,
0.002386928000021271,
0.002542268000013337,
0.0024253489999637168,
0.0024324630000478464,
0.002380745999971623,
0.002370015999986208,
0.002395413000044755,
0.0023746940000251016,
0.002565370000013445,
0.0023857720000250993,
0.002433013999961986,
0.0024164019999943775,
0.0024195390000159023,
0.0024445849999779057,
0.002408517999981541,
0.002410241000006863,
0.002370017000032476,
0.002376077000008081,
0.0023979580000172973,
0.0023670410000136144,
0.0024289270000394936,
0.002437370999984978,
0.0024487730000259944,
0.00244051100003162,
0.002426592000006167,
0.002426381000020683,
0.0024140780000152517,
0.002442299999984243,
0.0024502359999587497,
0.0024494539999864173,
0.002371700000026067,
0.002398169000002781,
0.002567333999991206,
0.002429948000042259,
0.0024458369999820206,
0.0024038489999611556,
0.002604404000010163,
0.002430658999969637,
0.002420009999980266,
0.0024021660000244083,
0.002524564999987433,
0.0026031610000245564,
0.002479740000012498,
0.0024246379999794954,
0.0024346370000216666,
0.0024205290000054447,
0.002409730000010768,
0.0024513879999972232,
0.0024067749999971966,
0.002459092000037799,
0.0023820179999916036,
0.002449283999965246,
0.002451524999969479,
0.002366979999976593,
0.0025323499999672094,
0.0024804820000099426,
0.002468088999989959,
0.002513813999996728,
0.00245500500000162,
0.00242979799998011,
0.002475231999994776,
0.002389291999975285,
0.0024150400000166883,
0.0023714490000088517,
0.002380415000004632,
0.0024278540000182147,
0.002382629999999608,
0.002459502999954566,
0.0024431020000292847,
0.0023760270000252603,
0.0024462780000362727,
0.0023739130000421937,
0.0024776670000505874,
0.002411092999977882,
0.0024062830000275426,
0.0023736630000144032,
0.0024765249999632033,
0.002428985999983979,
0.002416632999995727,
0.002461276000019552,
0.0023790529999700993,
0.0024310999999670457,
0.0023641149999775735,
0.0023453999999674124,
0.0025218600000016522,
0.0024036579999915375,
0.0024162230000115414,
0.0025612529999534672,
0.002444273999969937,
0.0023477949999914927,
0.0023510610000130328,
0.0025655110000002423,
0.002372580999974616,
0.0023715579999930014,
0.002493506000007528,
0.0024715150000247377,
0.0025098269999830336,
0.002369375000000673,
0.002401905999988685,
0.0023631430000250475,
0.002544712000030813,
0.0023479040000324858,
0.002386005000005298,
0.002507712999999967,
0.0024057929999798944,
0.0024522500000330183,
0.0024396360000196182,
0.0025591400000166686,
0.0023928989999717487,
0.002428384999973332,
0.0023481449999849247,
0.002453763000005438,
0.002361230000019532,
0.0023558089999937692,
0.002576390999990963,
0.002387748999979067,
0.0023832800000036514,
0.002404971000032674,
0.002530986000010671,
0.0023744840000290424,
0.0023813669999981357,
0.002392616999998154,
0.0023815170000034414,
0.0024536120000107076,
0.002391085999988718,
0.002374744999997347,
0.0026078700000198296,
0.0023787220000031084,
0.0024536519999855955,
0.0023795539999582616,
0.002587792999975136,
0.0023766090000094664,
0.002437280999970426,
0.002367391999996471,
0.0023635240000317026,
0.0026027409999755946,
0.00239102500000854,
0.002417916000013065,
0.002427323000006254,
0.002492904999996881,
0.002400122000040028,
0.0024341360000335044,
0.0024277340000367076,
0.0024296079999999165,
0.0024432330000081492,
0.0024958810000157428,
0.002620713999988311,
0.002541104999977506,
0.0024362199999927725,
0.002366929999993772,
0.0025955469999985326,
0.0024501660000169068,
0.0024535419999551777,
0.002363372999980129,
0.0024283149999746456,
0.0023779510000281334,
0.0023935490000326354,
0.0024570790000097986,
0.0023574230000349417,
0.002343546000020069,
0.002515647999985049,
0.002476013000034527,
0.0024467389999927036,
0.002455425999983163,
0.0024536419999776626,
0.002338697000027423,
0.002455855999983214,
0.0024089689999868824,
0.002358745000037743,
0.0023897130000136713,
0.002347483999983524,
0.0024935259999665504,
0.0023998809999739024,
0.0023456999999780237,
0.002379943999983425,
0.002340451000009125,
0.0024308700000119643,
0.002379192000034891,
0.0023668700000030185,
0.002438333999975839,
0.0023508200000037505,
0.002432563000013488,
0.0023714590000167846,
0.0023900230000322154,
0.002455725999993774,
0.002445717999989938,
0.0025652599999830272,
0.0023832199999560544,
0.0024444649999963985,
0.002455225000005612,
0.0025173210000275503,
0.002439166000044679,
0.0024427310000305624,
0.0024222330000043257,
0.002381928000033895,
0.002414298999951825,
0.0024203099999908773,
0.0024382540000260633,
0.0023716690000128438,
0.0024233149999872694,
0.002554560000021411,
0.0023283989999640653,
0.0024417099999709535,
0.0024073550000025534,
0.0024519289999602734,
0.0024961419999840473,
0.0023652060000358688,
0.0025880629999619487,
0.0023762579999697664,
0.0025663719999897694,
0.0023964850000197657,
0.0023783119999620794,
0.0023588349999954517,
0.0024760839999657946,
0.0024070950000236735,
0.002384403000007751,
0.0025128919999701793,
0.0023782619999792587,
0.002436289999991459,
0.0024193380000383513,
0.0024546540000187633,
0.0023795829999926355,
0.002340710999988005,
0.002476354000009451,
0.0023820490000048267,
0.002533240999980535,
0.0024590429999875596,
0.0025801980000323965,
0.0024494040000035966,
0.0024972539999907895,
0.0024066539999694214,
0.0024665270000241435,
0.002487244999997529,
0.002584587000001193,
0.002395765000017036,
0.0024962619999655544,
0.00246977199998355,
0.0026165670000182217,
0.002466455999979189,
0.0024511569999958738,
0.0025365060000126505,
0.0024310000000014043,
0.0026028500000165877,
0.0024107719999619803,
0.0024251190000086353,
0.0023787220000031084,
0.002555653000001712,
0.0024029169999835176,
0.002402536999966287,
0.002375626999992164,
0.002446618000021772,
0.002407054999991942,
0.002371348999986367,
0.0026272569999719053,
0.002392987999996876,
0.002406984000003831,
0.00236065899997584,
0.0024186169999893536,
0.0024468290000072557,
0.0024065339999879143,
0.002505177999978514,
0.002399330999992344,
0.0024006930000268767,
0.0023938210000551408,
0.0024413689999960297,
0.0023877589999869997,
0.0024155709999718056,
0.0025083040000026813,
0.0023551479999923686,
0.0023817979999876115,
0.00249635200003695,
0.0023645059999921614,
0.0024479809999888857,
0.0024215020000042387,
0.002543549999984407,
0.0024233249999952022,
0.002459733000023334,
0.0024177349999945363,
0.002629289999958928,
0.002399050000008174,
0.002435729000012543,
0.0024433230000227013,
0.002418525999985377,
0.0025099569999724736,
0.0024204700000041157,
0.00260705899995628,
0.0023890010000400252,
0.002532298999994964,
0.0023907850000455255,
0.0025035849999994753,
0.0023854049999840754,
0.002572664000012992,
0.002409258999989561,
0.002418606999981421,
0.00245853100000204,
0.002418006000027617,
0.0024913830000059534,
0.0024835380000354235,
0.0024942289999785316,
0.0023849739999945996,
0.0024479610000298635,
0.002432873000032032,
0.002491612999961035,
0.002521870000009585,
0.002479720999986057,
0.0025789759999952366,
0.0024103509999804373,
0.002358052999966276,
0.0025831039999957284,
0.002373803000011776,
0.002415180000014061,
0.002644128000042656,
0.0023988100000451595,
0.0024744699999814657,
0.0025180719999866596,
0.0024102509999579524,
0.0024138770000377008
],
"iterations": 1
}
},
{
"group": null,
"name": "test_async_encode_batch",
"fullname": "tests/test_benchmarks.py::TestAsync::test_async_encode_batch",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.1337405709999757,
"max": 1.5318024069999865,
"mean": 1.3309860232000006,
"stddev": 0.10459773566733119,
"rounds": 15,
"median": 1.3323697080000443,
"iqr": 0.04504602850001049,
"q1": 1.3114286795000112,
"q3": 1.3564747080000217,
"iqr_outliers": 4,
"stddev_outliers": 4,
"outliers": "4;4",
"ld15iqr": 1.3012915220000423,
"hd15iqr": 1.5105470539999715,
"ops": 0.7513226905236517,
"total": 19.964790348000008,
"data": [
1.3323697080000443,
1.3012915220000423,
1.141521541999964,
1.5318024069999865,
1.1337405709999757,
1.5105470539999715,
1.3349224309999954,
1.3626489100000185,
1.383321125000009,
1.311067205000029,
1.3148838619999879,
1.3379521020000311,
1.312513102999958,
1.334980829000017,
1.3212279769999782
],
"iterations": 1
}
},
{
"group": null,
"name": "test_async_encode_batch_fast",
"fullname": "tests/test_benchmarks.py::TestAsync::test_async_encode_batch_fast",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 1.035049201999982,
"max": 1.0884121440000172,
"mean": 1.0633540510666724,
"stddev": 0.014378077515295946,
"rounds": 15,
"median": 1.0611799609999935,
"iqr": 0.016383669249975696,
"q1": 1.0574569367500288,
"q3": 1.0738406060000045,
"iqr_outliers": 0,
"stddev_outliers": 4,
"outliers": "4;0",
"ld15iqr": 1.035049201999982,
"hd15iqr": 1.0884121440000172,
"ops": 0.9404205485434314,
"total": 15.950310766000086,
"data": [
1.0633402459999957,
1.0592568100000221,
1.056856979000031,
1.0611799609999935,
1.0451622690000022,
1.06373819800001,
1.0750021520000246,
1.0604356009999947,
1.074896195000008,
1.035049201999982,
1.0494769549999887,
1.0884121440000172,
1.0602944959999832,
1.0706738389999941,
1.0865357190000395
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_file_roberta",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_file_roberta",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.07503165700001091,
"max": 0.08031175599995777,
"mean": 0.07806248879999582,
"stddev": 0.001981758480637413,
"rounds": 15,
"median": 0.07858932099998128,
"iqr": 0.003871917500021027,
"q1": 0.07594926824998538,
"q3": 0.07982118575000641,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.07503165700001091,
"hd15iqr": 0.08031175599995777,
"ops": 12.810250036507338,
"total": 1.1709373319999372,
"data": [
0.07704116999997268,
0.07923859300001368,
0.0799342530000331,
0.07858932099998128,
0.07523525699997435,
0.07503165700001091,
0.07850914099998363,
0.07945906499998046,
0.08000901200000499,
0.07952809400001115,
0.07516325300002791,
0.07558530099998961,
0.07991888300000483,
0.07738257599999088,
0.08031175599995777
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_file_llama3",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_file_llama3",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.37814720899996246,
"max": 0.41509625900005176,
"mean": 0.39497360513333507,
"stddev": 0.009259246208921535,
"rounds": 15,
"median": 0.39494742200002975,
"iqr": 0.0075927932499837425,
"q1": 0.3907302725000221,
"q3": 0.39832306575000587,
"iqr_outliers": 2,
"stddev_outliers": 4,
"outliers": "4;2",
"ld15iqr": 0.3808951809999712,
"hd15iqr": 0.41509625900005176,
"ops": 2.5318147516779512,
"total": 5.924604077000026,
"data": [
0.40419544200000246,
0.3939456519999567,
0.37814720899996246,
0.3903813460000265,
0.41509625900005176,
0.4057785480000007,
0.3808951809999712,
0.3929934229999503,
0.39691228099997033,
0.391777052000009,
0.39778118399999585,
0.3877897960000496,
0.39494742200002975,
0.3985036930000092,
0.3954595890000405
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_file_albert",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_file_albert",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.047064348999981576,
"max": 0.054603868999947736,
"mean": 0.04962959114285901,
"stddev": 0.002630370822772578,
"rounds": 21,
"median": 0.04805437800001755,
"iqr": 0.00401800424995713,
"q1": 0.047630966500022964,
"q3": 0.051648970749980094,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.047064348999981576,
"hd15iqr": 0.054603868999947736,
"ops": 20.14926935669277,
"total": 1.0422214140000392,
"data": [
0.054297135000012986,
0.047648018000018055,
0.04805437800001755,
0.04788908900002298,
0.047484443000030296,
0.05118801999998368,
0.0477113270000018,
0.04790441699998382,
0.047064348999981576,
0.047180234999984805,
0.04891690900001322,
0.04757981200003769,
0.05009405600003447,
0.047959551000019474,
0.047439730000007785,
0.04970687399998042,
0.04922249899999542,
0.054603868999947736,
0.053031822999969336,
0.05359187800002019,
0.05365300199997591
],
"iterations": 1
}
},
{
"group": null,
"name": "test_to_str_llama3",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_to_str_llama3",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.10791324000001623,
"max": 0.12025517799997942,
"mean": 0.11301033060000236,
"stddev": 0.004321972614788401,
"rounds": 15,
"median": 0.11261198400001149,
"iqr": 0.007669723249975391,
"q1": 0.1090228867500116,
"q3": 0.11669260999998698,
"iqr_outliers": 0,
"stddev_outliers": 5,
"outliers": "5;0",
"ld15iqr": 0.10791324000001623,
"hd15iqr": 0.12025517799997942,
"ops": 8.848748558567433,
"total": 1.6951549590000354,
"data": [
0.10879284200001393,
0.10971302100000457,
0.11592376999999487,
0.12025517799997942,
0.11696520399999599,
0.11261198400001149,
0.11672751999998354,
0.11953213800001095,
0.11658787999999731,
0.11322575200000529,
0.10856846399997266,
0.10791324000001623,
0.1100211059999765,
0.10802702200004433,
0.11028983800002834
],
"iterations": 1
}
},
{
"group": null,
"name": "test_from_str_llama3",
"fullname": "tests/test_benchmarks.py::TestSerialization::test_from_str_llama3",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.3715762510000218,
"max": 0.41018718499998386,
"mean": 0.38525214926666723,
"stddev": 0.009760600988830023,
"rounds": 15,
"median": 0.3832602310000084,
"iqr": 0.012314336250028646,
"q1": 0.37819826549998936,
"q3": 0.390512601750018,
"iqr_outliers": 1,
"stddev_outliers": 3,
"outliers": "3;1",
"ld15iqr": 0.3715762510000218,
"hd15iqr": 0.41018718499998386,
"ops": 2.595702585705268,
"total": 5.778782239000009,
"data": [
0.3715762510000218,
0.379295457000012,
0.39472734500003526,
0.41018718499998386,
0.3854068499999812,
0.389489784000034,
0.38160835599995835,
0.37464459199998146,
0.38559348800004045,
0.3908535410000127,
0.394753522999963,
0.3832602310000084,
0.3778325349999818,
0.38253272200000765,
0.37702037899998686
],
"iterations": 1
}
},
{
"group": null,
"name": "test_train_bpe_small",
"fullname": "tests/test_benchmarks.py::TestTraining::test_train_bpe_small",
"params": null,
"param": null,
"extra_info": {},
"options": {
"disable_gc": false,
"timer": "perf_counter",
"min_rounds": 15,
"max_time": 1.0,
"min_time": 5e-06,
"warmup": false
},
"stats": {
"min": 0.016458194999984244,
"max": 0.021751429000005373,
"mean": 0.01757768585365955,
"stddev": 0.001162259017953809,
"rounds": 41,
"median": 0.017208054000036554,
"iqr": 0.0007490082499970185,
"q1": 0.016912778749997415,
"q3": 0.017661786999994433,
"iqr_outliers": 4,
"stddev_outliers": 4,
"outliers": "4;4",
"ld15iqr": 0.016458194999984244,
"hd15iqr": 0.019692603999999392,
"ops": 56.89031015375708,
"total": 0.7206851200000415,
"data": [
0.018581719999986035,
0.017326238999999077,
0.016970006000008198,
0.016866771000024983,
0.016815130999987105,
0.020363748000022497,
0.01744607000000542,
0.017306816000029812,
0.0169782049999867,
0.01697396800000206,
0.01764709799999764,
0.01780546099996627,
0.017956502000004093,
0.017605086999992636,
0.017142623000040658,
0.019692603999999392,
0.021751429000005373,
0.017795962999969106,
0.017593905000012455,
0.017347035000000233,
0.01696710499999199,
0.01770585399998481,
0.016880292999985613,
0.016744889999984025,
0.016645104000019728,
0.017013089999977637,
0.020934533999991345,
0.0172953649999954,
0.016458194999984244,
0.01664581500000395,
0.016856568000036987,
0.017489150000017162,
0.016946557000039775,
0.017208054000036554,
0.01714545800001588,
0.018717793999996957,
0.017356231999997362,
0.016909396999949422,
0.016913906000013412,
0.01705619099999467,
0.016829186999984813
],
"iterations": 1
}
}
],
"datetime": "2026-04-23T04:01:16.684838+00:00",
"version": "5.2.3"
}