Giter Site home page Giter Site logo

Comments (9)

Ygg01 avatar Ygg01 commented on September 28, 2024

I used those benchmarks and kinda managed to make Rust go through benchmarks. Alas, the output from Rust is jumbled (I assume due to multi-threading) and the shell program doesn't correctly recognize Rust's results.

from html5ever.

kmcallister avatar kmcallister commented on September 28, 2024

Cool, can I see your scripts?

from html5ever.

Ygg01 avatar Ygg01 commented on September 28, 2024

Yeah. I'm was out of town for a bit. I'll need to push some changes once I'm back. I apologize for the inconvenience.

from html5ever.

kmcallister avatar kmcallister commented on September 28, 2024

No trouble at all :) I certainly have enough other things to work on...

I'll be glad to take a look whenever it's ready.

from html5ever.

nox avatar nox commented on September 28, 2024

@Ygg01 Ping?

from html5ever.

Ygg01 avatar Ygg01 commented on September 28, 2024

@nox Pong :P

Sorry, RL has a way of interfering with best laid plan of mice and men.

Anyway, this been a long time, since I experimented on this, I made it work, but the Rust console output was kinda hard to get to work with what benchmark expected (the lines came out in slightly wrong, non-deterministic order), confusing the hell out of the benchmark tool.

Also a big problem is that it's not Rust friendly tool. It's a collection of bash and python scripts, so running it via rust bench, is kinda hard.

To make things worse, the benchmark wasn't updated in quite a while (Aug 2013).

from html5ever.

ordian avatar ordian commented on September 28, 2024

Also, take a look at myhtml and benchmarks:
results
code

Basically, this benchmark evaluates time of parsing TOP500 alexa sites in memory.

parser myhtml gumbo html5ever
overall time 0.50890 6.12951 4.50536
memory 32120832 29319168 30715904

from html5ever.

Ygg01 avatar Ygg01 commented on September 28, 2024

So how do you want this done?

As a shell command that calls different html and parses them? Should we attempt to make our own benchmark or attempt to extend existing benchmarks?

from html5ever.

nox avatar nox commented on September 28, 2024

Closing this for now.

from html5ever.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.