Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmarks #19

Open
aminya opened this issue Feb 18, 2020 · 3 comments · May be fixed by #33
Open

Benchmarks #19

aminya opened this issue Feb 18, 2020 · 3 comments · May be fixed by #33

Comments

@aminya
Copy link

aminya commented Feb 18, 2020

Is there any benchmark for using Hyperscript compared to EzXML (libxml2) for example?

I have made a package called AcuteML that defines a couple of XML utilities for manipulating DOM:
https://github.com/aminya/AcuteML.jl/tree/master/src/xmlutils

I wanna know if Hyperscript offers more performance or other advantages over other packages.

@yurivish
Copy link
Collaborator

yurivish commented Feb 18, 2020

Hi @aminya, I would be surprised if Hyperscript offers performance advantages over any package specifically written to have good performance. I’m the primary author and I wrote it to have the behavior I wanted without working too hard on good performance, since my use cases at the time were not ones where the output or manipulation of DOM was a bottleneck.

I know @SimonDanisch is someone who has thought about performance more, so maybe he would be interested in hearing about your package.

@SimonDanisch
Copy link
Collaborator

I'm mainly using Hyperscript for it's nice & easy syntax to define HTML DOMs in pure Julia - so I find it quite hard to compare to e.g. EzXML, which is far away from that use case...
The performance is quite good, considering that @yurivish hasn't put much focus on it ;)
The biggest problem I could find is: #13
Which, now that you remind me, I should try to merge this week!

@aminya
Copy link
Author

aminya commented Feb 18, 2020

Thank you for your answers! I look forward to some benchmark after #13 is merged! 😄
You can compare it to this from AcuteML:

https://github.com/aminya/AcuteML.jl/blob/3f32c7580b64bb888004f7e7d213704ff6daf581/benchmark/bench.jl#L88

@schneiderfelipe schneiderfelipe linked a pull request May 18, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants