Commit f14b508
committed
Add optional execution of extended benchmarks
This change introduces a safe way to load and run extended benchmarks by using `pcall` with `require`. It ensures the main benchmarks remain unaffected if the extended module is unavailable or causes an error. This is perfect for omitting more complicated benchmarks from the 160k diskette version and also demonstrates how pcall can be used to load Lua modules even on operating systems that don't traditionally have linking libraries.1 parent 51fcf35 commit f14b508
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
0 commit comments