Skip to content

Commit 5329ae4

Browse files
authored
docs: update benchmark in readme (#183)
1 parent c0a884a commit 5329ae4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,20 +245,20 @@ them for inspiring this project!
245245
### Benchmark
246246

247247
On a regular laptop with 16 cores, linting the [Uniswap/v4-core](https://github.com/Uniswap/v4-core) `src` folder on
248-
linux, lintspec v0.11.2 is about 1600x faster, or 0.06% of the execution time:
248+
linux, lintspec v0.11.3 is about 1700x faster, or 0.06% of the execution time:
249249

250250
```text
251251
Benchmark 1: npx @defi-wonderland/natspec-smells --include 'src/**/*.sol' --enforceInheritdoc --constructorNatspec
252-
Time (mean ± σ): 13.192 s ± 0.674 s [User: 15.365 s, System: 0.507 s]
253-
Range (min … max): 12.405 s … 14.110 s 10 runs
252+
Time (mean ± σ): 12.445 s ± 0.204 s [User: 14.510 s, System: 0.461 s]
253+
Range (min … max): 12.238 s … 12.824 s 10 runs
254254
255255
Benchmark 2: lintspec src --compact --param-required struct
256-
Time (mean ± σ): 8.0 ms ± 1.0 ms [User: 16.8 ms, System: 8.8 ms]
257-
Range (min … max): 5.9 ms … 11.3 ms 281 runs
256+
Time (mean ± σ): 7.3 ms ± 0.9 ms [User: 16.6 ms, System: 7.7 ms]
257+
Range (min … max): 5.5 ms … 10.3 ms 292 runs
258258
259259
Summary
260260
lintspec src --compact --param-required struct ran
261-
1658.70 ± 222.21 times faster than npx @defi-wonderland/natspec-smells --include 'src/**/*.sol' --enforceInheritdoc --constructorNatspec
261+
1708.61 ± 218.10 times faster than npx @defi-wonderland/natspec-smells --include 'src/**/*.sol' --enforceInheritdoc --constructorNatspec
262262
```
263263

264264
### Features

0 commit comments

Comments
 (0)