| credit_card/is_card_number/ | execution_time | [3.914µs; 3.915µs] or [-0.010%; +0.010%] | None | None | None |
| credit_card/is_card_number/ | throughput | [255429071.339op/s; 255481659.534op/s] or [-0.010%; +0.010%] | None | None | None |
| credit_card/is_card_number/ 3782-8224-6310-005 | execution_time | [78.122µs; 78.330µs] or [-0.133%; +0.133%] | None | None | None |
| credit_card/is_card_number/ 3782-8224-6310-005 | throughput | [12767785.153op/s; 12801485.119op/s] or [-0.132%; +0.132%] | None | None | None |
| credit_card/is_card_number/ 378282246310005 | execution_time | [72.293µs; 72.490µs] or [-0.137%; +0.137%] | None | None | None |
| credit_card/is_card_number/ 378282246310005 | throughput | [13796330.647op/s; 13833898.031op/s] or [-0.136%; +0.136%] | None | None | None |
| credit_card/is_card_number/37828224631 | execution_time | [3.914µs; 3.914µs] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number/37828224631 | throughput | [255464293.031op/s; 255512108.666op/s] or [-0.009%; +0.009%] | None | None | None |
| credit_card/is_card_number/378282246310005 | execution_time | [68.836µs; 69.032µs] or [-0.142%; +0.142%] | None | None | None |
| credit_card/is_card_number/378282246310005 | throughput | [14487497.795op/s; 14528743.068op/s] or [-0.142%; +0.142%] | None | None | None |
| credit_card/is_card_number/37828224631000521389798 | execution_time | [52.687µs; 52.710µs] or [-0.021%; +0.021%] | None | None | None |
| credit_card/is_card_number/37828224631000521389798 | throughput | [18971901.639op/s; 18979954.059op/s] or [-0.021%; +0.021%] | None | None | None |
| credit_card/is_card_number/x371413321323331 | execution_time | [6.439µs; 6.442µs] or [-0.022%; +0.022%] | None | None | None |
| credit_card/is_card_number/x371413321323331 | throughput | [155243345.035op/s; 155310021.375op/s] or [-0.021%; +0.021%] | None | None | None |
| credit_card/is_card_number_no_luhn/ | execution_time | [3.915µs; 3.916µs] or [-0.012%; +0.012%] | None | None | None |
| credit_card/is_card_number_no_luhn/ | throughput | [255365655.934op/s; 255427970.952op/s] or [-0.012%; +0.012%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 | execution_time | [65.125µs; 65.166µs] or [-0.031%; +0.031%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 | throughput | [15345611.020op/s; 15355132.126op/s] or [-0.031%; +0.031%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 378282246310005 | execution_time | [58.838µs; 58.906µs] or [-0.057%; +0.057%] | None | None | None |
| credit_card/is_card_number_no_luhn/ 378282246310005 | throughput | [16976535.372op/s; 16995937.153op/s] or [-0.057%; +0.057%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631 | execution_time | [3.915µs; 3.916µs] or [-0.013%; +0.013%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631 | throughput | [255372139.770op/s; 255436566.934op/s] or [-0.013%; +0.013%] | None | None | None |
| credit_card/is_card_number_no_luhn/378282246310005 | execution_time | [55.588µs; 55.635µs] or [-0.042%; +0.042%] | None | None | None |
| credit_card/is_card_number_no_luhn/378282246310005 | throughput | [17974571.591op/s; 17989509.357op/s] or [-0.042%; +0.042%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631000521389798 | execution_time | [52.693µs; 52.717µs] or [-0.023%; +0.023%] | None | None | None |
| credit_card/is_card_number_no_luhn/37828224631000521389798 | throughput | [18969177.001op/s; 18977982.825op/s] or [-0.023%; +0.023%] | None | None | None |
| credit_card/is_card_number_no_luhn/x371413321323331 | execution_time | [6.436µs; 6.437µs] or [-0.010%; +0.010%] | None | None | None |
| credit_card/is_card_number_no_luhn/x371413321323331 | throughput | [155351080.504op/s; 155381586.338op/s] or [-0.010%; +0.010%] | None | None | None |
What does this PR do?
Migrate from the
regexcrate toregex-lite.Motivation
The
regexcrate is very fast, but takes up lots of space in the binaries.regex-litemight introduce regression in performance, but we should see it's much more optimized in space.How to test the change?
There is (I believe so) a benchmark on the size of the artifacts (and the performance). We can evaluate if this change is worth it based on those.