Open alexkreidler opened 4 years ago
Hi @alexkreidler
This test for:
Simply put, this is a test on real pages, close to the real use of a parser.
That is, it is a test for reliability, not speed. I will be doing benchmarks shortly. For now you can look for elixir benchmark (this is binding for the lexbor HTML module) test.
Tests for correct tree construction and compliance with the specification are in lexbor itself.
I'm really curious about the results of this test.
How many pages were parsed correctly? How many had errors? Any fatal errors?
I think this could be a very valuable tool to measure both the performance and the forgiveness/flexibility of the parser, and a great way to convince potential users of lexbor's value.
However, most users are going to at least want to see the highlights of the results on a website or in a markdown document instead of having to clone and run the benchmark themselves.
Thanks for all your hard work!