Commit 34cca4c
committed
Add XPath
## Benchmark (Comparison with rexml 3.4.1)
```
$ benchmark-driver benchmark/xpath.yaml
Calculating -------------------------------------
rexml 3.4.1 master 3.4.1(YJIT) master(YJIT)
//a 28.089 306.852 28.542 371.572 i/s - 100.000 times in 3.560086s 0.325890s 3.503567s 0.269127s
Comparison:
//a
master(YJIT): 371.6 i/s
master: 306.9 i/s - 1.21x slower
3.4.1(YJIT): 28.5 i/s - 13.02x slower
rexml 3.4.1: 28.1 i/s - 13.23x slower
```
- YJIT=ON : 13.02x faster
- YJIT=OFF : 10.92x faster//a Benchmark1 parent 8f43af5 commit 34cca4c
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments