test: improve performance for property tests

Set the opt-level to 3 as suggested by the proptest book.

Reference:
- https://proptest-rs.github.io/proptest/proptest/tips-and-best-practices.html#setting-opt-level
This commit is contained in:
Benoît CORTIER
2023-10-30 18:24:00 -04:00
committed by Benoît Cortier
parent 39d5ded239
commit 5513546d89
+6
View File
@@ -67,5 +67,11 @@ inherits = "release"
opt-level = "s"
lto = true
[profile.test.package.proptest]
opt-level = 3
[profile.test.package.rand_chacha]
opt-level = 3
[patch.crates-io]
softbuffer = { git = "https://github.com/CBenoit/softbuffer.git", rev = "8a9e7f95e054f9af5752682aa5f27890aeb1b094" }