- Click on a time in the table below to view the current record implementation.
- To compete, implement the function in the corresponding
function.langfile. No code is allowed outside the function. - Make a PR. A GitHub Action will benchmark and verify your code, and if it's a new record, you'll be added to the leaderboard for that function!
| Function | JavaScript | Python | C++ |
|---|---|---|---|
| Binary Search (Float) | 0.0000554242 ms | N/A | 0.0000739051 ms |
| Binary Search (Int) | 0.0000972836 ms | 0.0008612756 ms | 0.0000437424 ms |
| Binary Search (String) | N/A | 0.0005990243 ms | 0.0001259274 ms |
| JSON Encoder | 0.0009720655 ms | 0.0034437088 ms | N/A |
| Matrix Multiply 2D | 0.0101142333 ms | 0.1259787020 ms | 0.0145085658 ms |
| Merge Sort | 1.3305006549 ms | 0.9766333383 ms | N/A |
| Quicksort | 1.7712410480 ms | 5.9636666157 ms | N/A |
| Validate Password | 0.0013593010 ms | 0.0015716631 ms | N/A |