chore: add benchmarks

This commit is contained in:
AJ ONeal 2021-07-23 05:03:47 -06:00
parent ec0c238504
commit 52f6694dfe
1 changed files with 5 additions and 1 deletions

View File

@ -35,10 +35,14 @@ const div1 = $("div", body);
Selects all matching elements (or an empty `NodeList`):
```js
const head = $('head');
const head = $("head");
const stylesheets = $$('link[rel="stylesheet"]', head).map(console.log);
```
## Benchmarks
![ajquery-benchmarks "it's over 9000"](https://user-images.githubusercontent.com/122831/126773141-ba082a86-c394-42d4-99ef-4039681f36be.png)
## Compatibility
Written entirely in modern ECMAScript 3, and directly transpilable into ES5, ES6