Skip to content
EvalSuite
v0.5.5 results

Benchmarks

Speed and peak memory of EvalSuite against reference implementations (scikit-learn, statsmodels, SciPy, pycocotools, sacreBLEU, rouge-score, NLTK, ranx, krippendorff, jsonschema, choix, POT, pycocoevalcap, radon), computing the same quantities on the same data. Every one of the 225 metrics and statistics functions has its own row below, and every compared result agrees with the reference to floating-point rounding.
Every metric225 metrics and statistics functions at n = 10,000 / 100,000; EvalSuite 0.5.5; speed-ups over library comparisons
SuiteMetricsvs libraryvs formulaTimed aloneMatchFaster than libraryGeo-mean speed-upRange
Classification and regression35269035/3552/525.65×1.20×–30.57×
Clinical, calibration and statistics32216527/2742/425.93×1.08×–36.37×
LLM evaluation7023341357/5746/464.02×1.07×–46.36×
LLM systems77768275/7514/142.93×1.06×–8.04×
Segmentation and object detection1191110/1018/185.93×1.22×–22.06×
All metrics2258611821204/204172/1724.97×1.06×–46.36×
Overall benchmarkper suite and in total, across 1,000 / 100,000 / 1,000,000 samples
SuiteCasesMeasurementsMatch referenceEvalSuite fasterGeometric-mean speed-upRange
Classification and regression41212/1212/1210.66×1.44×–100.84×
Clinical, calibration and statistics82424/2424/243.84×1.04×–18.07×
LLM evaluation61818/1818/182.37×1.11×–9.03×
LLM systems61818/1818/181.75×1.04×–6.04×
Segmentation and object detection399/99/93.13×1.22×–15.97×
All suites278181/8181/813.29×1.04×–100.84×
Overall: every case, all releases27 cases, 81 measurements; all agree with the reference; EvalSuite is faster in 81 of 81
CaseReleaseReferenceSpeed-up, n = 1,000Speed-up, n = 100,000Speed-up, n = 1,000,000Max |difference|
10 classes: macro F1v0.1scikit-learn16.38×15.68×15.93×0
agreement: Krippendorff's alpha, intervalv0.4krippendorff1.11×2.04×2.05×1.7e-14
binary: 8 label metrics via evaluate()v0.1scikit-learn39.90×100.84×90.19×0
binary: ROC AUCv0.1scikit-learn9.46×2.22×1.72×1.1e-16
calibration: slope and interceptv0.2statsmodels5.44×5.82×5.22×2.8e-16
clinical: diagnostic reportv0.2statsmodels4.13×2.39×1.08×2.5e-14
clinical: sensitivity, specificity, LR+, LR−v0.2scikit-learn15.75×13.79×18.07×1.8e-15
decision curve: 99 thresholdsv0.2NumPy loop6.48×1.44×1.35×5.6e-17
detection: COCO evaluationv0.3pycocotools1.22×1.79×1.85×0
multiple testing: Hochberg (n p-values)v0.2statsmodels1.12×1.04×1.08×0
regression: MAE, MSE, RMSE, R² via evaluate()v0.1scikit-learn6.62×4.21×1.44×0
retrieval: MRR, MAP@20, NDCG@10v0.4ranx9.03×5.21×4.90×6.9e-18
segmentation: Dice and IoU per class (n = pixels)v0.3scikit-learn15.97×7.74×7.26×0
segmentation: Hausdorff distancev0.3SciPy1.96×2.17×1.89×0
statistics: Cramér's Vv0.2SciPy10.74×11.93×11.15×0
statistics: Mann–Whitney Uv0.2SciPy5.01×3.14×2.14×0
statistics: Welch t-testv0.2SciPy6.08×2.39×1.38×5.6e-17
structured: JSON Schema compliancev0.4jsonschema2.38×2.41×2.28×0
systems: CodeBLEU n-gram termsv0.5codebleu1.04×1.17×1.21×0
systems: confidence AUROC (n answers)v0.5scikit-learn4.86×1.95×1.70×0
systems: distribution-shift drop, Welch CI (n scores)v0.5SciPy6.04×2.62×1.09×0
systems: invalid tool calls vs JSON Schemav0.5jsonschema2.83×2.89×2.15×0
systems: latency p50 / p95 / p99 (n requests)v0.5NumPy1.10×2.00×1.13×0
systems: maintainability indexv0.5radon1.06×1.12×1.10×0
text: corpus BLEU and chrFv0.4sacreBLEU1.24×1.20×1.43×1.4e-14
text: METEOR, exact and stem matchesv0.4NLTK3.31×3.20×3.08×0
text: ROUGE-1, ROUGE-2, ROUGE-Lv0.4rouge-score1.75×1.79×1.74×0
Classification and regression (v0.1) against scikit-learn
CasenReferenceEvalSuite (ms)Reference (ms)Speed-upEvalSuite peak (MiB)Reference peak (MiB)Max |difference|
10 classes: macro F11,000scikit-learn0.0610.99416.38×0.020.030
10 classes: macro F1100,000scikit-learn0.73211.48315.68×0.772.180
10 classes: macro F11,000,000scikit-learn7.139113.74415.93×7.6321.790
binary: 8 label metrics via evaluate()1,000scikit-learn0.1686.72239.90×0.030.040
binary: 8 label metrics via evaluate()100,000scikit-learn0.87388.059100.84×1.693.060
binary: 8 label metrics via evaluate()1,000,000scikit-learn9.326841.17390.19×16.2830.530
binary: ROC AUC1,000scikit-learn0.1181.1189.46×0.090.081.1e-16
binary: ROC AUC100,000scikit-learn10.81824.0572.22×8.397.631.1e-16
binary: ROC AUC1,000,000scikit-learn171.396293.9721.72×83.9376.300
regression: MAE, MSE, RMSE, R² via evaluate()1,000scikit-learn0.0710.4686.62×0.030.020
regression: MAE, MSE, RMSE, R² via evaluate()100,000scikit-learn0.7263.0604.21×3.051.530
regression: MAE, MSE, RMSE, R² via evaluate()1,000,000scikit-learn9.37313.4681.44×30.5215.260
Clinical, calibration and statistics (v0.2) against scikit-learn, statsmodels, SciPy
CasenReferenceEvalSuite (ms)Reference (ms)Speed-upEvalSuite peak (MiB)Reference peak (MiB)Max |difference|
calibration: slope and intercept1,000statsmodels0.5643.0735.44×0.100.602.8e-16
calibration: slope and intercept100,000statsmodels16.19194.1645.82×8.4658.001.1e-16
calibration: slope and intercept1,000,000statsmodels227.6741188.1645.22×83.99579.855.6e-17
clinical: diagnostic report (7 CIs)1,000statsmodels0.1300.5364.13×0.020.011.1e-14
clinical: diagnostic report (7 CIs)100,000statsmodels0.5521.3202.39×0.760.292.5e-14
clinical: diagnostic report (7 CIs)1,000,000statsmodels4.9735.3861.08×7.631.911.4e-14
clinical: sensitivity, specificity, LR+, LR−1,000scikit-learn0.2523.97515.75×0.020.034.4e-16
clinical: sensitivity, specificity, LR+, LR−100,000scikit-learn2.64336.45713.79×0.762.240
clinical: sensitivity, specificity, LR+, LR−1,000,000scikit-learn19.484351.99118.07×7.6322.321.8e-15
decision curve: 99 thresholds1,000NumPy loop0.1561.0106.48×0.070.015.6e-17
decision curve: 99 thresholds100,000NumPy loop10.18714.6691.44×6.870.295.6e-17
decision curve: 99 thresholds1,000,000NumPy loop149.151200.9111.35×68.671.975.6e-17
multiple testing: Hochberg (n p-values)1,000statsmodels0.0530.0591.12×0.040.050
multiple testing: Hochberg (n p-values)100,000statsmodels3.7523.8881.04×3.823.970
multiple testing: Hochberg (n p-values)1,000,000statsmodels78.80384.9071.08×38.1539.170
statistics: Cramér's V (5×5 table)1,000SciPy0.0240.25710.74×0.000.000
statistics: Cramér's V (5×5 table)100,000SciPy0.0160.18611.93×0.000.000
statistics: Cramér's V (5×5 table)1,000,000SciPy0.0150.17011.15×0.000.000
statistics: Mann–Whitney U1,000SciPy0.1200.6045.01×0.140.140
statistics: Mann–Whitney U100,000SciPy7.49923.5493.14×13.9313.930
statistics: Mann–Whitney U1,000,000SciPy148.000317.0692.14×139.24139.240
statistics: Welch t-test1,000SciPy0.1010.6126.08×0.020.025.6e-17
statistics: Welch t-test100,000SciPy0.6001.4322.39×1.531.531.4e-42
statistics: Welch t-test1,000,000SciPy7.0509.7131.38×15.2615.269.4e-243
Segmentation and object detection (v0.3) against scikit-learn, SciPy, pycocotools
CasenReferenceEvalSuite (ms)Reference (ms)Speed-upEvalSuite peak (MiB)Reference peak (MiB)Max |difference|
detection: COCO evaluation (10 images)1,000pycocotools13.16516.0951.22×0.551.360
detection: COCO evaluation (100 images)100,000pycocotools43.62978.0681.79×1.274.350
detection: COCO evaluation (1000 images)1,000,000pycocotools369.040683.0981.85×8.0034.440
segmentation: Dice and IoU per class (n = pixels)1,000scikit-learn0.2133.40915.97×0.160.100
segmentation: Dice and IoU per class (n = pixels)100,000scikit-learn2.91322.5487.74×0.172.320
segmentation: Dice and IoU per class (n = pixels)1,000,000scikit-learn30.902224.4697.26×0.2523.480
segmentation: Hausdorff distance (1 image)1,000SciPy0.2370.4631.96×0.270.030
segmentation: Hausdorff distance (24 images)100,000SciPy4.90310.6502.17×0.290.030
segmentation: Hausdorff distance (50 images)1,000,000SciPy7.05413.3141.89×0.280.030
LLM evaluation (v0.4) against sacreBLEU, rouge-score, NLTK, ranx, krippendorff, jsonschema
CasenReferenceEvalSuite (ms)Reference (ms)Speed-upEvalSuite peak (MiB)Reference peak (MiB)Max |difference|
agreement: Krippendorff's alpha, interval (4 raters × 10 items)1,000krippendorff0.0390.0441.11×0.010.010
agreement: Krippendorff's alpha, interval (4 raters × 1000 items)100,000krippendorff0.1470.3012.04×0.290.693.8e-15
agreement: Krippendorff's alpha, interval (4 raters × 10000 items)1,000,000krippendorff1.3602.7832.05×2.536.321.7e-14
retrieval: MRR, MAP@20, NDCG@10 (10 queries)1,000ranx0.1391.2529.03×0.010.040
retrieval: MRR, MAP@20, NDCG@10 (1000 queries)100,000ranx11.71361.0595.21×0.493.113.5e-18
retrieval: MRR, MAP@20, NDCG@10 (10000 queries)1,000,000ranx120.490589.8554.90×5.3631.016.9e-18
structured: JSON Schema compliance (10 documents)1,000jsonschema0.1080.2572.38×0.000.000
structured: JSON Schema compliance (1000 documents)100,000jsonschema9.62423.2152.41×0.050.020
structured: JSON Schema compliance (10000 documents)1,000,000jsonschema98.006223.2892.28×0.500.160
text: corpus BLEU and chrF (10 sentences)1,000sacreBLEU1.1951.4831.24×0.110.221.4e-14
text: corpus BLEU and chrF (1000 sentences)100,000sacreBLEU139.586167.7811.20×0.2621.571.4e-14
text: corpus BLEU and chrF (10000 sentences)1,000,000sacreBLEU1435.7882056.3771.43×2.52211.520
text: METEOR, exact and stem matches (10 sentences)1,000NLTK0.1080.3563.31×0.010.010
text: METEOR, exact and stem matches (1000 sentences)100,000NLTK12.05738.5513.20×0.120.040
text: METEOR, exact and stem matches (10000 sentences)1,000,000NLTK124.738384.3773.08×1.150.390
text: ROUGE-1, ROUGE-2, ROUGE-L (10 sentences)1,000rouge-score0.3160.5531.75×0.010.010
text: ROUGE-1, ROUGE-2, ROUGE-L (1000 sentences)100,000rouge-score33.33759.7901.79×0.120.640
text: ROUGE-1, ROUGE-2, ROUGE-L (10000 sentences)1,000,000rouge-score354.711618.6241.74×1.166.550
LLM systems (v0.5) against radon, codebleu, scikit-learn, jsonschema, SciPy, NumPy
CasenReferenceEvalSuite (ms)Reference (ms)Speed-upEvalSuite peak (MiB)Reference peak (MiB)Max |difference|
systems: CodeBLEU n-gram terms (100 programs)100,000codebleu41.46648.3101.17×0.360.250
systems: CodeBLEU n-gram terms (1000 programs)1,000,000codebleu431.295523.0491.21×1.762.060
systems: CodeBLEU n-gram terms (4 programs)1,000codebleu1.7511.8271.04×0.070.070
systems: confidence AUROC (n answers)1,000scikit-learn0.2321.1284.86×0.060.080
systems: confidence AUROC (n answers)100,000scikit-learn11.77922.9371.95×5.447.640
systems: confidence AUROC (n answers)1,000,000scikit-learn160.506272.9581.70×54.3676.300
systems: distribution-shift drop, Welch CI (n scores)1,000SciPy0.0770.4636.04×0.010.020
systems: distribution-shift drop, Welch CI (n scores)100,000SciPy0.5481.4342.62×0.761.530
systems: distribution-shift drop, Welch CI (n scores)1,000,000SciPy6.6647.2501.09×7.6315.260
systems: invalid tool calls vs JSON Schema (10 tasks)1,000jsonschema0.0780.2212.83×0.000.000
systems: invalid tool calls vs JSON Schema (1000 tasks)100,000jsonschema7.89222.8282.89×0.700.050
systems: invalid tool calls vs JSON Schema (10000 tasks)1,000,000jsonschema105.037225.6402.15×7.100.330
systems: latency p50 / p95 / p99 (n requests)1,000NumPy0.0310.0341.10×0.010.010
systems: latency p50 / p95 / p99 (n requests)100,000NumPy0.8071.6122.00×0.760.770
systems: latency p50 / p95 / p99 (n requests)1,000,000NumPy10.75212.1881.13×7.637.630
systems: maintainability index (100 programs)100,000radon8.2079.1891.12×0.180.050
systems: maintainability index (1000 programs)1,000,000radon90.30099.3021.10×0.650.070
systems: maintainability index (4 programs)1,000radon0.3320.3521.06×0.040.040

Every metric, one by one

Each metric is timed on its own at 10,000 and 100,000 samples (n / 100 examples for text, retrieval, RAG, judge and structured-output metrics; n / 1000 for BERTScore, MoverScore, MAUVE and detection images). Where a reference library exists it is timed on the same data; otherwise EvalSuite is checked against an independent textbook formula in NumPy or the Python standard library. A bare formula skips input validation, so it is a correctness check and a lower bound on time, not a competitor. Learned, judge-dependent and randomised procedures (bootstrap, MAUVE, model_score) are timed alone. The v0.5.0 LLM-systems metrics (safety, robustness, uncertainty, agents, multilingual, code, long context, efficiency) are checked against SciPy, scikit-learn, jsonschema, radon and the codebleu package's n-gram terms where those apply. Metric names link to their documentation.

Classification and regression35 metrics, alphabetical
MetricCompared withEvalSuite ms, n = 10,000EvalSuite ms, n = 100,000Reference ms, n = 10,000Reference ms, n = 100,000Speed-up, n = 10,000Speed-up, n = 100,000Max |difference|
classification.accuracyscikit-learn(library)0.0520.2980.6013.25811.56×10.92×0.0e+0
classification.average_precisionscikit-learn(library)0.86710.3101.93516.5102.23×1.60×1.1e-16
classification.balanced_accuracyscikit-learn(library)0.3523.2531.80511.8805.13×3.65×0.0e+0
classification.brier_scorescikit-learn(library)0.0570.4050.8695.37815.38×13.30×0.0e+0
classification.cohen_kappascikit-learn(library)0.0660.3401.4339.32321.59×27.42×0.0e+0
classification.expected_calibration_errorNumPy formula(formula check)0.3032.6380.4764.6861.57×1.78×1.9e-16
classification.f1scikit-learn(library)0.3693.2212.36313.8106.41×4.29×0.0e+0
classification.fbetascikit-learn(library)0.0720.3631.93010.54026.79×29.06×0.0e+0
classification.hamming_lossscikit-learn(library)0.5796.3933.29628.1005.69×4.39×0.0e+0
classification.jaccardscikit-learn(library)0.0700.4421.80911.20025.97×25.34×0.0e+0
classification.log_lossscikit-learn(library)0.4835.5593.26122.9906.76×4.14×0.0e+0
classification.mccscikit-learn(library)0.8413.2383.17922.6103.78×6.98×0.0e+0
classification.npvscikit-learn(library)0.0670.3601.89810.69028.29×29.67×0.0e+0
classification.precisionscikit-learn(library)0.3673.3662.35023.2706.41×6.91×0.0e+0
classification.recallscikit-learn(library)0.3724.8272.37614.8706.39×3.08×0.0e+0
classification.roc_aucscikit-learn(library)9.894130.921.740202.42.20×1.55×0.0e+0
classification.specificityscikit-learn(library)0.0670.4142.05611.31030.57×27.34×0.0e+0
classification.top_k_accuracyscikit-learn(library)0.6387.2092.54720.8403.99×2.89×0.0e+0
regression.adjusted_r2NumPy formula(formula check)0.0470.5910.0160.1730.35×0.29×0.0e+0
regression.explained_variancescikit-learn(library)0.0490.4070.2270.9374.64×2.30×0.0e+0
regression.huber_lossNumPy formula(formula check)0.0610.7340.0350.5500.57×0.75×0.0e+0
regression.maescikit-learn(library)0.0230.2710.1690.5147.44×1.90×0.0e+0
regression.mapescikit-learn(library)0.0390.4680.1860.7644.76×1.63×0.0e+0
regression.max_errorscikit-learn(library)0.0220.2510.1180.4415.45×1.76×0.0e+0
regression.mean_bias_errorNumPy formula(formula check)0.0210.2070.0080.0850.36×0.41×0.0e+0
regression.median_absolute_errorscikit-learn(library)0.1221.1870.2601.4202.13×1.20×0.0e+0
regression.msescikit-learn(library)0.0310.3050.1650.4745.40×1.55×0.0e+0
regression.mslescikit-learn(library)0.0530.5150.2971.1155.61×2.17×0.0e+0
regression.quantile_lossscikit-learn(library)0.0320.4180.1980.8256.11×1.97×0.0e+0
regression.r2scikit-learn(library)0.0450.5460.2070.6654.63×1.22×0.0e+0
regression.raeNumPy formula(formula check)0.0570.7650.0160.1970.28×0.26×0.0e+0
regression.rmseNumPy formula(formula check)0.0300.3050.0060.0380.19×0.12×0.0e+0
regression.rmsleNumPy formula(formula check)0.0520.5260.0340.3290.66×0.63×0.0e+0
regression.rseNumPy formula(formula check)0.0540.6930.0160.1510.29×0.22×0.0e+0
regression.smapeNumPy formula(formula check)0.0470.7500.0230.3230.49×0.43×0.0e+0
Clinical, calibration and statistics32 metrics, alphabetical
MetricCompared withEvalSuite ms, n = 10,000EvalSuite ms, n = 100,000Reference ms, n = 10,000Reference ms, n = 100,000Speed-up, n = 10,000Speed-up, n = 100,000Max |difference|
calibration.calibration_interceptstatsmodels(library)0.4675.1603.70133.9507.93×6.58×3.3e-16
calibration.calibration_slopestatsmodels(library)1.18410.5006.27150.1905.30×4.78×3.3e-16
calibration.maximum_calibration_errorNumPy formula(formula check)0.3222.8360.4734.5851.47×1.62×3.1e-16
clinical.diagnostic_odds_ratioNumPy formula(formula check)0.0620.4190.0350.3210.57×0.77×0.0e+0
clinical.lr_negativescikit-learn(library)0.0630.4141.90513.05030.16×31.48×8.3e-17
clinical.lr_positivescikit-learn(library)0.0600.4111.99812.99033.12×31.62×8.9e-16
clinical.net_benefitNumPy formula(formula check)0.1391.4650.0170.1450.12×0.10×0.0e+0
clinical.ppvscikit-learn(library)0.0690.4372.09911.16030.43×25.56×0.0e+0
clinical.sensitivityscikit-learn(library)0.0650.4222.37411.20036.37×26.53×0.0e+0
clinical.youden_jNumPy formula(formula check)0.0750.4020.0430.3150.57×0.78×0.0e+0
statistics.accuracy_cistatsmodels(library)0.0100.0370.0590.0625.93×1.66×0.0e+0
statistics.adjust_pvaluesstatsmodels(library)0.2783.4190.3023.9271.08×1.15×2.2e-16
statistics.bootstrap_ci–(timed alone)149.91,503–––––
statistics.chi_square_testSciPy(library)0.0240.0240.1820.1857.50×7.84×0.0e+0
statistics.cliffs_deltaSciPy(library)1.57821.8802.00423.7401.27×1.08×2.8e-17
statistics.cohens_dNumPy formula(formula check)0.0410.5060.0300.2720.73×0.54×0.0e+0
statistics.compare–(timed alone)42.410575.1–––––
statistics.cramers_vSciPy(library)0.0160.0160.1830.19311.46×12.40×0.0e+0
statistics.delong_test–(timed alone)4.00946.600–––––
statistics.fisher_exact_testSciPy(library)0.0950.2380.4741.7535.00×7.36×0.0e+0
statistics.friedman_testSciPy(library)0.5197.7121.46013.4802.81×1.75×0.0e+0
statistics.hedges_gNumPy formula(formula check)0.0580.8120.0300.2730.52×0.34×4.9e-12
statistics.kruskal_wallis_testSciPy(library)0.87916.6703.07938.0103.50×2.28×0.0e+0
statistics.mann_whitney_testSciPy(library)0.5437.8512.16423.9903.99×3.06×0.0e+0
statistics.mcnemar_teststatsmodels(library)0.0140.1980.0590.5364.33×2.70×0.0e+0
statistics.paired_bootstrap_test–(timed alone)44.400560.6–––––
statistics.paired_t_testSciPy(library)0.0780.3990.2860.9043.69×2.27×1.8e-15
statistics.proportion_cistatsmodels(library)0.0140.0080.0870.0816.15×9.87×0.0e+0
statistics.roc_auc_ci–(timed alone)2.07721.680–––––
statistics.shapiro_wilk_testSciPy(library)0.0440.0410.5020.46411.39×11.41×0.0e+0
statistics.t_testSciPy(library)0.0910.5340.5051.2715.58×2.38×0.0e+0
statistics.wilcoxon_testSciPy(library)0.3523.7331.34911.1703.83×2.99×0.0e+0
LLM evaluation70 metrics, alphabetical
MetricCompared withEvalSuite ms, n = 10,000EvalSuite ms, n = 100,000Reference ms, n = 10,000Reference ms, n = 100,000Speed-up, n = 10,000Speed-up, n = 100,000Max |difference|
qa.exact_matchSQuAD formula(formula check)0.8859.1366.09160.4406.88×6.62×0.0e+0
qa.token_f1SQuAD formula(formula check)1.43715.2306.75367.1104.70×4.41×0.0e+0
rag.context_precisionNumPy formula(formula check)0.3663.8980.4164.6121.14×1.18×0.0e+0
rag.context_recallNumPy formula(formula check)0.2832.8880.2702.6130.96×0.90×0.0e+0
rag.context_relevanceNumPy formula(formula check)0.2882.9780.2642.6740.92×0.90×0.0e+0
rag.failure_attribution–(timed alone)0.0230.173–––––
rag.latency_summaryNumPy formula(formula check)0.1050.1170.0210.0240.20×0.20×0.0e+0
rag.task_success_rateNumPy formula(formula check)0.0050.0060.0020.0030.43×0.46×0.0e+0
reasoning.benchmark_accuracy–(timed alone)0.1881.786–––––
reasoning.majority_vote_accuracyPython stdlib(formula check)0.4815.0250.1081.0860.22×0.22×0.0e+0
reasoning.pass_at_kPython stdlib(formula check)0.2462.2620.0200.1840.08×0.08×0.0e+0
retrieval.hit_rate_at_kranx(library)0.3203.2036.00455.76018.75×17.41×0.0e+0
retrieval.mean_average_precision_at_kranx(library)0.3493.6115.88855.21016.88×15.29×3.5e-18
retrieval.mrrranx(library)0.3163.1616.06553.53019.19×16.94×0.0e+0
retrieval.ndcg_at_kranx(library)0.4614.6026.15653.59013.35×11.64×3.5e-18
retrieval.precision_at_kranx(library)0.4533.4015.83254.98012.87×16.17×0.0e+0
retrieval.recall_at_kranx(library)0.3233.2286.56256.15020.29×17.40×0.0e+0
text.abstention_accuracyNumPy formula(formula check)0.0110.0130.0030.0030.25×0.23×0.0e+0
text.answer_correctnessNumPy formula(formula check)0.0170.0180.0050.0060.32×0.34×0.0e+0
text.answer_relevanceNumPy formula(formula check)0.9729.7220.7807.6310.80×0.78×0.0e+0
text.api_call_success_rateNumPy formula(formula check)0.0140.0730.0070.0260.47×0.36×0.0e+0
text.bertscoreNumPy formula(formula check)0.2472.4250.1381.5460.56×0.64×0.0e+0
text.bleusacreBLEU(library)2.74929.6304.19354.9601.52×1.85×0.0e+0
text.bradley_terrychoix(library)1.1642.09425.28097.07021.72×46.36×8.7e-10
text.chrfsacreBLEU(library)9.32498.9509.954112.91.07×1.14×1.4e-14
text.ciderpycocoevalcap(library)14.320155.320.740224.91.45×1.45×0.0e+0
text.citation_precision–(timed alone)0.1271.455–––––
text.citation_recall–(timed alone)0.0951.137–––––
text.claim_verification_accuracyNumPy formula(formula check)0.1190.9460.0030.0110.03×0.01×0.0e+0
text.constraint_satisfaction_rateNumPy formula(formula check)0.0350.3040.0510.5301.48×1.74×0.0e+0
text.cross_entropyNumPy formula(formula check)0.0390.3310.0110.0650.28×0.20×0.0e+0
text.distinct_nPython stdlib(formula check)0.4364.5990.1592.6590.37×0.58×0.0e+0
text.elo_ratingsPython stdlib(formula check)0.3250.8050.0820.2010.25×0.25×0.0e+0
text.embedding_similarityNumPy formula(formula check)0.0330.1860.0230.1530.70×0.82×0.0e+0
text.extra_content_rate–(timed alone)0.2421.943–––––
text.faithfulnessNumPy formula(formula check)0.2001.7590.3453.5431.72×2.01×0.0e+0
text.fleiss_kappastatsmodels(library)0.0360.0850.0840.6202.33×7.32×0.0e+0
text.format_compliancePython stdlib(formula check)0.0200.1500.0160.1160.82×0.77×0.0e+0
text.groundednessNumPy formula(formula check)0.3533.6050.1151.1390.33×0.32×0.0e+0
text.hallucination_rateNumPy formula(formula check)0.1841.7130.0810.8570.44×0.50×0.0e+0
text.instruction_compliance_rateNumPy formula(formula check)0.0260.2430.0090.0780.35×0.32×0.0e+0
text.instruction_retention–(timed alone)0.0440.359–––––
text.json_schema_compliancejsonschema(library)1.0079.3702.52022.9102.50×2.44×0.0e+0
text.json_validityPython stdlib(formula check)0.1211.1780.1010.9690.83×0.82×0.0e+0
text.judge_agreementscikit-learn(library)0.0890.2220.5670.8126.39×3.66×0.0e+0
text.knowledge_consistencyPython stdlib(formula check)0.0470.3970.0100.1530.22×0.39×0.0e+0
text.krippendorff_alphakrippendorff(library)0.0690.1580.0810.2911.18×1.84×2.9e-15
text.mauve–(timed alone)3.334448.1–––––
text.meteorNLTK(library)1.19912.0104.44042.3603.70×3.53×0.0e+0
text.model_score–(timed alone)0.0120.067–––––
text.moverscorePOT(library)0.7938.2871.11911.6101.41×1.40×0.0e+0
text.perplexityNumPy formula(formula check)0.0400.3300.0100.0650.26×0.20×0.0e+0
text.position_consistencyNumPy formula(formula check)0.0510.4320.0030.0050.05×0.01×0.0e+0
text.required_field_accuracy–(timed alone)0.2612.614–––––
text.rouge_1rouge-score(library)0.6217.7822.57122.6004.14×2.90×0.0e+0
text.rouge_2rouge-score(library)0.80310.4002.50122.2903.12×2.14×0.0e+0
text.rouge_lrouge-score(library)1.33313.8603.01928.3402.27×2.04×0.0e+0
text.rouge_lsumrouge-score(library)2.83628.0604.23442.5001.49×1.51×0.0e+0
text.rubric_scoreNumPy formula(formula check)0.0130.0320.0040.0100.30×0.30×0.0e+0
text.self_bleusacreBLEU(library)5.219135.99.130241.21.75×1.77×0.0e+0
text.self_preference_bias–(timed alone)0.3510.417–––––
text.sentence_bleusacreBLEU(library)3.17930.3105.69657.5601.79×1.90×0.0e+0
text.spicePython stdlib(formula check)0.9128.6790.0450.4910.05×0.06×0.0e+0
text.tersacreBLEU(library)9.37693.80013.460141.31.44×1.51×3.6e-15
text.tool_argument_accuracy–(timed alone)0.2092.718–––––
text.tool_call_f1–(timed alone)0.2293.020–––––
text.tool_selection_accuracyPython stdlib(formula check)0.1752.2610.0190.1450.11×0.06×0.0e+0
text.verbosity_bias–(timed alone)0.4591.361–––––
text.win_rateNumPy formula(formula check)0.0300.2500.0050.0120.15×0.05×0.0e+0
text.xml_validityPython stdlib(formula check)0.3903.7790.3723.6450.95×0.96×0.0e+0
LLM systems77 metrics, alphabetical
MetricCompared withEvalSuite ms, n = 10,000EvalSuite ms, n = 100,000Reference ms, n = 10,000Reference ms, n = 100,000Speed-up, n = 10,000Speed-up, n = 100,000Max |difference|
agents.agent_cost_per_taskNumPy formula(formula check)0.0060.0070.0020.0020.25×0.27×0.0e+0
agents.human_intervention_rateNumPy formula(formula check)0.0090.0080.0030.0040.35×0.42×0.0e+0
agents.invalid_tool_call_ratejsonschema(library)0.86010.3202.56331.4602.98×3.05×0.0e+0
agents.plan_adherence–(timed alone)0.2341.753–––––
agents.state_tracking_accuracyPython stdlib(formula check)0.0930.9070.0100.0650.10×0.07×0.0e+0
agents.steps_per_taskNumPy formula(formula check)0.0150.0240.0020.0020.11×0.08×0.0e+0
agents.task_completion_rateNumPy formula(formula check)0.0030.0030.0020.0030.84×0.83×0.0e+0
agents.tool_failure_recovery_rate–(timed alone)0.1311.704–––––
agents.tool_use_efficiencyNumPy formula(formula check)0.0160.0230.0030.0030.17×0.12×0.0e+0
agents.unnecessary_tool_call_ratePython stdlib(formula check)0.7237.3860.4545.6330.63×0.76×0.0e+0
code.code_complexityradon(library)0.7626.8450.8107.6811.06×1.12×0.0e+0
code.codebleucodebleu (n-gram terms)(library)4.94242.0406.00453.5001.22×1.27×0.0e+0
code.coverage_rateNumPy formula(formula check)0.0180.0160.0010.0010.07×0.08×0.0e+0
code.execution_success_rateNumPy formula(formula check)0.0270.1290.0190.1060.69×0.82×0.0e+0
code.patch_acceptance_rateNumPy formula(formula check)0.0040.0030.0030.0030.82×0.79×0.0e+0
code.resolved_ratePython stdlib(formula check)0.1060.6360.0190.1050.18×0.17×0.0e+0
code.runtime_efficiencyNumPy formula(formula check)0.0360.0300.0030.0030.09×0.09×0.0e+0
code.security_vulnerability_ratePython stdlib(formula check)0.1200.6830.0120.0450.10×0.07×0.0e+0
code.static_analysis_violation_rateNumPy formula(formula check)0.0160.0130.0010.0010.09×0.10×0.0e+0
code.syntax_validity_ratePython stdlib(formula check)2.53017.5601.04111.0700.41×0.63×0.0e+0
code.unit_test_pass_rateNumPy formula(formula check)0.3473.3720.2622.6780.76×0.79×0.0e+0
efficiency.availabilityNumPy formula(formula check)0.0120.0830.0020.0030.18×0.03×0.0e+0
efficiency.energy_per_requestNumPy formula(formula check)0.0070.0090.0020.0040.35×0.41×0.0e+0
efficiency.inference_costNumPy formula(formula check)0.0110.0140.0030.0040.27×0.32×0.0e+0
efficiency.latency_percentilesNumPy formula(formula check)0.0170.0280.0230.0291.41×1.01×0.0e+0
efficiency.requests_per_secondNumPy formula(formula check)0.0040.0080.0020.0020.49×0.29×0.0e+0
efficiency.resource_utilizationNumPy formula(formula check)0.0680.0790.0010.0010.02×0.02×0.0e+0
efficiency.throughputNumPy formula(formula check)0.0160.0220.0030.0030.17×0.14×0.0e+0
efficiency.time_per_output_tokenNumPy formula(formula check)0.0340.0440.0030.0050.09×0.10×0.0e+0
efficiency.time_to_first_tokenNumPy formula(formula check)0.0200.0320.0020.0030.10×0.08×0.0e+0
efficiency.token_usageNumPy formula(formula check)0.0260.0480.0020.0030.08×0.06×0.0e+0
long_context.citation_coverageNumPy formula(formula check)0.3253.3090.0950.9660.29×0.29×0.0e+0
long_context.compression_ratioPython stdlib(formula check)0.4084.6380.3824.3370.94×0.94×0.0e+0
long_context.context_utilizationPython stdlib(formula check)0.0911.9220.0040.0660.05×0.03×0.0e+0
long_context.cross_document_consistencyPython stdlib(formula check)0.4446.9600.0160.1870.03×0.03×0.0e+0
long_context.lost_in_the_middleNumPy formula(formula check)0.0180.0680.0080.0220.45×0.33×0.0e+0
long_context.needle_in_haystackNumPy formula(formula check)0.2400.6270.0020.0040.01×0.01×0.0e+0
long_context.position_accuracyNumPy formula(formula check)0.0390.1230.0200.0490.52×0.40×0.0e+0
long_context.retrieval_accuracy_by_lengthNumPy formula(formula check)0.0300.0760.0020.0040.07×0.05×0.0e+0
long_context.summary_coverageNumPy formula(formula check)0.4084.1550.2582.6510.63×0.64×0.0e+0
multilingual.bitext_mining_accuracyNumPy formula(formula check)0.0300.0650.0160.0450.55×0.70×0.0e+0
multilingual.code_switching_robustnessNumPy formula(formula check)0.0080.0100.0020.0040.26×0.39×0.0e+0
multilingual.cross_lingual_consistencyPython stdlib(formula check)0.3934.0400.0170.1390.04×0.03×0.0e+0
multilingual.cultural_appropriatenessNumPy formula(formula check)0.0070.0080.0030.0040.43×0.49×0.0e+0
multilingual.direct_assessmentSciPy(library)0.0870.3470.7011.0188.04×2.93×1.0e-17
multilingual.language_consistencyNumPy formula(formula check)0.0560.3980.0030.0060.05×0.01×0.0e+0
multilingual.language_id_accuracyscikit-learn(library)0.0420.0960.2510.2865.93×2.97×0.0e+0
multilingual.language_parityNumPy formula(formula check)0.0260.0290.0120.0150.47×0.51×0.0e+0
robustness.adversarial_robustnessNumPy formula(formula check)0.0100.0120.0020.0030.21×0.21×0.0e+0
robustness.contradiction_rateNumPy formula(formula check)0.0190.1610.0140.1060.73×0.66×0.0e+0
robustness.distribution_shift_dropSciPy(library)0.0740.0740.4390.4345.97×5.84×6.9e-18
robustness.error_rateNumPy formula(formula check)0.0160.1110.0130.0940.80×0.85×0.0e+0
robustness.invariance_violation_ratePython stdlib(formula check)0.0280.2000.0080.0500.27×0.25×0.0e+0
robustness.noise_robustnessNumPy formula(formula check)0.0080.0100.0020.0030.25×0.24×0.0e+0
robustness.ood_accuracyNumPy formula(formula check)0.0100.0160.0020.0040.23×0.26×0.0e+0
robustness.paraphrase_consistencyPython stdlib(formula check)0.4494.3200.0160.1170.04×0.03×0.0e+0
robustness.prompt_sensitivityNumPy formula(formula check)0.0440.0580.0040.0050.09×0.08×0.0e+0
robustness.recovery_success_rateNumPy formula(formula check)0.0080.0100.0020.0040.29×0.39×0.0e+0
robustness.response_stabilityPython stdlib(formula check)0.7036.7240.3393.4060.48×0.51×0.0e+0
robustness.truncation_sensitivityNumPy formula(formula check)0.0630.0990.0450.0670.71×0.68×0.0e+0
safety.attack_success_rateNumPy formula(formula check)0.0030.0030.0020.0030.74×0.79×0.0e+0
safety.exposureNumPy formula(formula check)0.68210.4000.0170.1140.02×0.01×0.0e+0
safety.harmful_response_rateNumPy formula(formula check)0.0040.0080.0020.0040.54×0.53×0.0e+0
safety.over_refusal_rateNumPy formula(formula check)0.0040.0070.0030.0050.58×0.70×0.0e+0
safety.pii_leakage_ratePython stdlib(formula check)0.1241.8090.0390.3440.32×0.19×0.0e+0
safety.policy_violation_ratePython stdlib(formula check)0.0530.4280.0070.0440.13×0.10×0.0e+0
safety.red_team_success_ratePython stdlib(formula check)0.0600.5170.0100.0740.17×0.14×0.0e+0
safety.refusal_rateNumPy formula(formula check)0.0100.0140.0020.0040.22×0.28×0.0e+0
safety.stereotype_preferenceNumPy formula(formula check)0.0100.0150.0040.0070.36×0.49×0.0e+0
safety.toxicity_scoreNumPy formula(formula check)0.2302.4590.0060.0390.02×0.02×0.0e+0
safety.weat_effect_sizeNumPy formula(formula check)2.0372.0890.0550.0500.03×0.02×0.0e+0
uncertainty.adaptive_calibration_errorNumPy formula(formula check)0.1020.6740.0860.6610.85×0.98×0.0e+0
uncertainty.aurcNumPy formula(formula check)0.0510.6700.0320.6300.62×0.94×0.0e+0
uncertainty.confidence_accuracy_correlationscikit-learn(library)0.2201.1041.1123.0315.06×2.75×1.1e-16
uncertainty.coverage_at_riskNumPy formula(formula check)0.0530.7060.0320.6340.60×0.90×0.0e+0
uncertainty.risk_at_coverageNumPy formula(formula check)0.0470.6720.0230.6040.49×0.90×0.0e+0
uncertainty.selective_riskNumPy formula(formula check)0.0310.6120.0210.5840.67×0.95×0.0e+0
Segmentation and object detection11 metrics, alphabetical
MetricCompared withEvalSuite ms, n = 10,000EvalSuite ms, n = 100,000Reference ms, n = 10,000Reference ms, n = 100,000Speed-up, n = 10,000Speed-up, n = 100,000Max |difference|
detection.average_precision_detectionpycocotools(library)1.70815.67013.99068.4508.19×4.37×0.0e+0
detection.box_iouNumPy formula(formula check)0.0739.6180.0344.0730.47×0.42×0.0e+0
detection.mean_average_precisionpycocotools(library)3.21217.76013.64074.9204.25×4.22×0.0e+0
segmentation.average_surface_distanceSciPy(library)0.2513.4400.3184.2001.27×1.22×0.0e+0
segmentation.boundary_iou–(timed alone)0.2172.370–––––
segmentation.dicescikit-learn(library)0.1371.4251.66611.22012.17×7.88×0.0e+0
segmentation.hausdorff_distanceSciPy(library)0.2573.5410.5026.2371.96×1.76×0.0e+0
segmentation.iouscikit-learn(library)0.1431.4551.59611.08011.14×7.62×0.0e+0
segmentation.mean_pixel_accuracyscikit-learn(library)0.1231.4121.64311.22013.35×7.95×0.0e+0
segmentation.miouscikit-learn(library)0.1441.4331.62511.10011.26×7.74×0.0e+0
segmentation.pixel_accuracyscikit-learn(library)0.0230.2300.4993.34322.06×14.55×0.0e+0

Reading the results

All 81 measurements agree with their reference, and EvalSuite is faster in every one across all five releases (geometric-mean speed-up 3.29×). In the per-metric run, all 172 library comparisons are faster too (4.97×).

Many metrics at once is where EvalSuite is fastest. evaluate() validates the inputs once, encodes integer labels without sorting and builds the confusion matrix once, then derives all eight label metrics from it: 40–101× faster than eight separate scikit-learn calls. Macro F1 over ten classes is about 16× faster, and sensitivity, specificity and both likelihood ratios together are 14–18× faster.

Statistical tests compute their statistics directly and are tested to give SciPy's numbers: the Welch t-test is 1.4–6.1× SciPy, Mann–Whitney 2.1–5.0× (one ranking pass), Cramér's V about 11×, Hochberg correction 1.0–1.1× statsmodels. Calibration slope and intercept are 5.2–5.8× faster than statsmodels' GLM thanks to a dedicated Newton–Raphson solver, and the clinical diagnostic report is 1.1–4.1×.

Object detection matches pycocotools exactly on all twelve COCO numbers and is 1.2–1.9× as fast: the greedy matching runs across every image of a class at once. Per-class Dice and IoU are 7–16× faster than scikit-learn, and Hausdorff distance is 1.9–2.2× SciPy because it works on boundary points only.

LLM metrics give the reference libraries' numbers, faster: corpus BLEU and chrF 1.2–1.4× sacreBLEU, ROUGE about 1.8× rouge-score, METEOR 3.1–3.3× NLTK, ranking metrics 4.9–9.0× ranx, JSON Schema compliance 2.3–2.4× jsonschema and Krippendorff's alpha 1.1–2.1× the krippendorff package.

LLM systems (v0.5) match radon's maintainability index exactly (1.1× its speed), the codebleu package's n-gram terms (1.0–1.2×) and scikit-learn's AUROC for confidence (1.7–4.9×). Tool calls are checked against their JSON Schemas 2.2–2.9× faster than jsonschema, and the distribution-shift interval is 1.1–6.0× faster than SciPy. Latency percentiles are 1.1–2.0× NumPy while also reporting the mean, spread, min, max and p90: each percentile is selected exactly from a small bracketed window instead of partitioning the whole array.

Reproduce on your machine

pip install "evalsuite-python[llm]" scikit-learn statsmodels pycocotools sacrebleu rouge-score ranx krippendorff jsonschema choix pot pycocoevalcap radon codebleu
evalsuite benchmark                    # every case at 1,000 / 100,000 / 1,000,000 samples
evalsuite benchmark --suite clinical   # only the v0.2 clinical, calibration and statistics cases
evalsuite benchmark --suite vision     # only the v0.3 segmentation and detection cases
evalsuite benchmark --suite llm        # only the v0.4 LLM cases
evalsuite benchmark --suite llmsys     # only the v0.5 LLM-systems cases
evalsuite benchmark --suite metrics --sizes 10000 100000   # one row per metric (all 225)
evalsuite benchmark --quick            # small sizes only

The full table and notes are in BENCHMARKS.md in the package repository. Results on your hardware will differ in absolute time; the ratios are what to compare.