Skip to content

brootware/regex-performance-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex-performance-benchmark

A repository to demonstrate and compare regular expression performance between rust and golang for matching and replacing.

TIY(Test-It-Yourself)

To test it out yourself, clone the repo locally as below

git clone https://github.com/brootware/regex-performance-benchmark.git && cd regex-performance-benchmark

To run go's binary

cd go-regex && go build -ldflags "-s -w" -o go-regex
./go-regex

To run rust's binary

cd rust-regex && cargo build --release
cp ../target/release/rust-regex .
./rust-regex

About

A repository to demonstrate and compare regular expression performance between rust and golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published