Skip to content

Commit 2731b5e

Browse files
author
Michele Riva
committed
chore(benchmarks): update benchmark table
1 parent 4f8b24b commit 2731b5e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

packages/benchmarks/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,22 @@ You can find the full dataset [here](https://github.com/nearform/lyra/blob/main/
1717
| **Typo tolerance** | `"ode si mossero a divisi porte"` | `["txt"]`| `5` | 4ms | 7430 |
1818

1919

20+
21+
# Benchmakrs
22+
23+
The following is an automated benchmark performed on the [Divina Commedia](https://en.wikipedia.org/wiki/Divina_Commedia) dataset. <br />
24+
You can find the full dataset [here](https://github.com/nearform/lyra/blob/main/packages/benchmarks/dataset/divinaCommedia.json).
25+
26+
# Results
27+
28+
29+
| Search | Term | Properties | Typo tolerance | Time Elapsed | Results |
30+
|--------------------|---------------------------------------|------------|----------------|---------------|-------------|
31+
| **Exact search** | `"stelle"` | `["txt"]`| `N/A` | 299μs | 25 |
32+
| **Exact search** | `"stelle"` | `"*"` | `N/A` | 188μs | 25 |
33+
| **Typo tolerance** | `"stele"` | `"*"` | `1` | 2ms | 28 |
34+
| **Exact search** | `"onde si muovono a diversi porti"` | `"*"` | `N/A` | 372μs | 268 |
35+
| **Typo tolerance** | `"ode si mossero a divisi porte"` | `"*"` | `5` | 40ms | 43023 |
36+
| **Typo tolerance** | `"ode si mossero a divisi porte"` | `["txt"]`| `5` | 4ms | 7430 |
37+
38+

0 commit comments

Comments
 (0)