13 Commits

Author SHA1 Message Date
Andrew Gallant
ea525cd1bf
bench: remove D and C++ regex engines
Neither of them were particularly competitive and they make building the
benchmark harness more trouble than it's worth.
2022-07-01 09:15:49 -04:00
Matthew Krupcale
4e3a107376
bench: add boost
This commit adds a new `re-boost` feature that enables benchmarking
Boost's regex implementation.

Closes #459
2018-04-28 12:22:04 -04:00
Matthew Krupcale
00a66ded28
bench: add libc++'s std::regex
This commit adds a new `libcxx` feature that enables testing libc++'s
implementation of `std::regex` when combined with the `re-stdcpp`
feature.

See also: https://libcxx.llvm.org/docs/UsingLibcxx.html
2018-04-28 12:22:02 -04:00
Matthew Krupcale
f9cd75c463
bench: add C++'s std::regex
This commit adds a new `re-stdcpp` feature to the benchmark runner that
enables benchmarking C++'s standard library regex implementation.
2018-04-28 12:22:02 -04:00
Andrew Gallant
361459c27f bench: remove RUSTFLAGS
We no longer need to enable SIMD optimizations at compile time. They are
automatically enabled when regex is compiled with the `unstable`
feature.
2018-03-12 22:32:53 -04:00
Robert Clipsham
ed174dfd41 Add benchmarks for D's ctRegex 2018-01-01 10:35:45 -05:00
Andrew Gallant
fe9d82be0f ci: try to improve build times 2018-01-01 09:21:07 -05:00
Robert Clipsham
9c790659c4 Add support for benchmarking D's std.regex
This commit adds support for benchmarking the runtime version of the D
programming language's std.regex using the dmd and ldc compilers.

Closes #430
2017-12-31 18:11:48 -05:00
Andrew Gallant
00f30ee02a bench: update the benchmark runner
This updates dependencies and makes sure everything compiles and runs.
This also simplifies the build script.
2017-12-30 15:37:41 -05:00
Andrew Gallant
0375954389 regex_macros: delete it
The regex_macros crate hasn't been maintained in quite some time, and has
been broken. Nobody has complained. Given the fact that there are no
immediate plans to improve the situation, and the fact that it is slower
than the runtime engine, we simply remove it.
2017-12-30 15:37:41 -05:00
Andrew Gallant
623132526c Touch up benchmarks.
This makes a few touch ups to benchmarks:

1. Add some regex-dna related benchmarks.
2. Change use of RUSTFLAGS="-C target-feature=+ssse3" to
   RUSTFLAGS="-C target-cpu=native".
3. Switch order of parameters to regex-run-one benchmarking tool.
2016-06-17 04:54:53 -04:00
Andrew Gallant
203c509df9 Add SIMD accelerated multiple pattern search.
This uses the "Teddy" algorithm, as learned from the Hyperscan regular
expression library: https://01.org/hyperscan

This support optional, subject to the following:

1. A nightly compiler.
2. Enabling the `simd-accel` feature.
3. Adding `RUSTFLAGS="-C target-feature=+ssse3"` when compiling.
2016-05-18 10:48:13 -04:00
Andrew Gallant
b217bfebd2 mv benches bench 2016-04-24 14:34:26 -04:00