Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
/ regex-bench Public archive

Unscientific benchmarks of a few popular regular expression implementations

Notifications You must be signed in to change notification settings

jonahsnider/regex-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex-bench

Some very specific regex benchmarks.

Each script outputs a line of the execution time in nanoseconds. Python is very slow and will only do a subset of the tests, so it outputs a lot of Nones.

Language Script
Nim nim c -d:release ./src/main.nim
Rust cargo run --release
Node.js / V8 node src/main.js
Python python3.8 src/main.py