Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onecthree/no-telp-benchmark
Benchmarking the fastest code for phone number parsing or checking.
https://github.com/onecthree/no-telp-benchmark
Last synced: about 1 month ago
JSON representation
Benchmarking the fastest code for phone number parsing or checking.
- Host: GitHub
- URL: https://github.com/onecthree/no-telp-benchmark
- Owner: onecthree
- Created: 2023-11-26T07:42:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T08:12:23.000Z (about 1 year ago)
- Last Synced: 2023-11-26T09:20:57.757Z (about 1 year ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Benchmark No Telpon
Semua benchmark dilakukan pada info berikut:
- Ubuntu 20.04
- Intel Core i7 8650U | 16 GB Memory
- gcc v9.4.0
- libpcre2 (PCRE2_CODE_UNIT_WIDTH = 8)Test run 5 kali, lalu hitung rata-rata (total / 5).
Lihat calculation.txt| Judul Kode | Score (terendah lebih baik) | Persentase dari peringkat terbawah | Info |
|--------------|-----------------------------|------------------------------------|---------------------------|
| token | 1,9749 | 24,99% Lebih cepat dari regex | |
| pp_inline | 1,9796 | 24,81% Lebih cepat dari regex | |
| inline | 1,9847 | 24,62% Lebih cepat dari regex | |
| array | 1,9977 | 24,12% Lebih cepat dari regex | |
| branch | 2,0044 | 23,87% Lebih cepat dari regex | |
| regex_simply | 2,5942 | 1,46% Lebih cepat dari regex | no-jit, no cached pattern |
| regex | 2,6326 | | no-jit, no cached pattern |