Sha256: ba2b606993edd8d705ad1677ec954862614e52b028407e1908bb5dfb07767f2d

Contents?: true

Size: 992 Bytes

Versions: 31

Compression:

Stored size: 992 Bytes

Contents

This directory contains the results of compilation tests. Specifically,
the results are from testing both the from scratch compilation time and
relative binary size increases of various features for both the `regex` and
`regex-automata` crates.

Here's an example of how to run these tests for just the `regex` crate. You'll
need the `regex-cli` command installed, which can be found in the `regex-cli`
directory in the root of this repository.

This must be run in the root of a checkout of this repository.

```
$ mkdir /tmp/regex-compile-test
$ regex-cli compile-test ./ /tmp/regex-compile-test | tee record/compile-test/2023-04-19_1.7.3.csv
```

You can then look at the results using a tool like [`xsv`][xsv]:

```
$ xsv table record/compile-test/2023-04-19_1.7.3.csv
```

Note that the relative binary size is computed by building a "baseline" hello
world program, and then subtracting that from the size of a binary that uses
the regex crate.

[xsv]: https://github.com/BurntSushi/xsv

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/regex-1.11.1/record/compile-test/README.md
wasmtime-28.0.0 ./ext/cargo-vendor/regex-1.11.1/record/compile-test/README.md
wasmtime-27.0.0 ./ext/cargo-vendor/regex-1.11.1/record/compile-test/README.md
wasmtime-26.0.0 ./ext/cargo-vendor/regex-1.11.1/record/compile-test/README.md
wasmtime-25.0.2 ./ext/cargo-vendor/regex-1.10.6/record/compile-test/README.md
wasmtime-25.0.1 ./ext/cargo-vendor/regex-1.10.6/record/compile-test/README.md
wasmtime-25.0.0 ./ext/cargo-vendor/regex-1.10.6/record/compile-test/README.md
wasmtime-24.0.0 ./ext/cargo-vendor/regex-1.10.6/record/compile-test/README.md
wasmtime-23.0.2 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-22.0.0 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-21.0.1 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-20.0.2 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-20.0.0 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-18.0.3 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-17.0.1 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-17.0.0 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-16.0.0 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-15.0.1 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-15.0.0 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md
wasmtime-14.0.4 ./ext/cargo-vendor/regex-1.10.2/record/compile-test/README.md