File tree Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Original file line number Diff line number Diff line change 43
43
44
44
- name : Create benchmark file
45
45
run : |
46
+ echo -n "" > ./packages/benchmarks/README.md
46
47
node ./packages/benchmarks/benchmark-table/index.mjs >> ./packages/benchmarks/README.md
47
48
48
49
- name : stage changed files
Original file line number Diff line number Diff line change 1
-
2
- # Benchmakrs
3
-
4
- The following is an automated benchmark performed on the [ Divina Commedia] ( https://en.wikipedia.org/wiki/Divina_Commedia ) dataset. <br />
5
- You can find the full dataset [ here] ( https://github.com/nearform/lyra/blob/main/packages/benchmarks/dataset/divinaCommedia.json ) .
6
-
7
- # Results
8
-
9
-
10
- | Search | Term | Properties | Typo tolerance | Time Elapsed | Results |
11
- | --------------------| ---------------------------------------| ------------| ----------------| ---------------| -------------|
12
- | ** Exact search** | ` "stelle" ` | ` ["txt"] ` | ` N/A ` | 298μs | 25 |
13
- | ** Exact search** | ` "stelle" ` | ` "*" ` | ` N/A ` | 216μs | 25 |
14
- | ** Typo tolerance** | ` "stele" ` | ` "*" ` | ` 1 ` | 2ms | 28 |
15
- | ** Exact search** | ` "onde si muovono a diversi porti" ` | ` "*" ` | ` N/A ` | 345μs | 268 |
16
- | ** Typo tolerance** | ` "ode si mossero a divisi porte" ` | ` "*" ` | ` 5 ` | 37ms | 43023 |
17
- | ** Typo tolerance** | ` "ode si mossero a divisi porte" ` | ` ["txt"] ` | ` 5 ` | 4ms | 7430 |
18
-
19
-
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
-
You can’t perform that action at this time.
0 commit comments