This directory contains utility scripts for verifying the accuracy and performance of the idsmith library across different ecosystems.
Cross-validates idsmith generated identifiers (IBAN, Personal ID, Company ID, Credit Card) against the python-stdnum library to ensure 100% algorithmic correctness.
To run:
../benchmarks/venv_python/bin/python accuracy_check.pyMeasures the performance (ops/sec) of idsmith compared to python-stdnum in a Python environment.
To run:
../benchmarks/venv_python/bin/python comprehensive_bench.pyMeasures the performance (ops/sec) of idsmith compared to ibantools and card-validator in a Node.js environment.
To run:
cd ../benchmarks/venv_node && node ../../scripts/comprehensive_bench.js