Meeseeks - A library for extracting data from HTML and XML with CSS or XPath selectors

Since html5ever_elixir recently released a new version that works on Erlang/OTP 22 I have finally been able to release a Meeseeks vs. Floki Benchmark update.

Here’s an excerpt from the Trending JS scenario, but go ahead and check out the whole benchmark for a more complete description.

Name                     ips        average  deviation         median         99th %
Meeseeks CSS           23.22       43.07 ms     ±2.73%       42.79 ms       47.22 ms
Meeseeks XPath         19.47       51.35 ms     ±4.03%       50.77 ms       60.82 ms
Floki CSS              14.01       71.39 ms     ±3.85%       71.31 ms       83.36 ms

Comparison: 
Meeseeks CSS           23.22
Meeseeks XPath         19.47 - 1.19x slower +8.28 ms
Floki CSS              14.01 - 1.66x slower +28.32 ms

Memory usage statistics:

Name              Memory usage
Meeseeks CSS           3.66 MB
Meeseeks XPath         6.57 MB - 1.80x memory usage +2.91 MB
Floki CSS             22.23 MB - 6.08x memory usage +18.57 MB
3 Likes