Skip to content

Commit 5a0602c

Browse files
authored
Brag about speed
1 parent 18cc530 commit 5a0602c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ function greet(name) {
2121
}
2222
```
2323

24+
## Fast?
25+
26+
Oh, yes. Here are the results of running Taste's own test suite 768 times in Firefox on a 2.4 GHz Intel CPU:
27+
28+
![134400 tests ran, and found no issues. 521 ms elapsed.](https://github.com/user-attachments/assets/0d3a40f0-4970-43b6-b805-aba6b60272b1)
29+
30+
134400 tests in about half a second! I'm going to bet your program doesn't have that many tests.
31+
32+
You should take this measurement with a grain of salt, though, because when the same tests run many times, the JIT has more time to optimize the code. Still, _I_ think this is pretty cool.
33+
2434
## Build Status
2535

2636
Taste's own tests are written using Taste. [You can run the tests in your browser here](https://benchristel.github.io/taste).

0 commit comments

Comments
 (0)