Comments (11)
Yes, i know this other great benchmark project, which run on Travis too :)
I only want to be focused on Web Components librairies and frameworks alternatives.
from hybrids.
I don't know If I suppose to see hybrids results in the first link because they are not there :) About the source code, it looks pretty good, in the terms of performance I have no comments.
For dispatching events hybrids provides dispatch
helper - you then don't have to create CustomEvent explicit, but it has no impact on the perf.
from hybrids.
Sorry, the last build breaks druign the night and revert to a previous version of the page where Hybrids was not listed. Have a look now.
I will updated the code for using your dispatch helper ;)
from hybrids.
Cool. I looked at the results. I think they are promising, as I have never test performance before. It was my concern during the implementation, but not tested :)
Thanks for your work!
What I have to do, is to inspect your pascal triangle test. Hybrids seems to be slow on that.
One question, did you consider to add live links to the implementation? For example, if I click on hybrids, it would open new tab with working todo app :)
from hybrids.
@smalluban Yes i will add the builded implementations today.
The pascal triangle is not a real use-case but more a stress test, but yes may be i have implemented something bad..
I will post on others libs github repository today a link to this benchmark for discussing with them, before releasing a public blog post.
from hybrids.
Benchmark updated with demos : https://vogloblinsky.github.io/web-components-benchmark/
from hybrids.
Few issues found:
- Demos backlink does not work
- It opens in a new tab (maybe it is intentional)
Other case is with results. They have changed. Do you use some weighted average or other thing and call tests multiple times to avoid measurement errors?
It might be also helpful to write on what machine you are creating results.
from hybrids.
There is another release coming in Travis for backlink issue.
For results, i will explain in details in a future blog post. I call each test 10 times, and do an average.
For the machine, it is running on Travis CI, may be you can find informatiosn here in the log : https://travis-ci.org/vogloblinsky/web-components-benchmark/builds/469567920
from hybrids.
I am not sure if Travis CI for open source projects can provide consistent performance. Even though the relative differences between results might be similar, the absolute values can differ.
There is https://github.com/krausest/js-framework-benchmark project, which uses the best result as a reference to the rest. I could help with your case.
from hybrids.
I looked at hybrids core for the triangle test and one obvious improvement can be use a key index. Generated template has a helper method for setting custom key id for efficient reorder of list items.
You can find more here https://hybrids.js.org/template-engine/iteration#keys
from hybrids.
Ok, implemented, CI is running, will see if it is better in 1h.
from hybrids.
Related Issues (20)
- Add a helper for assigning component properties HOT 3
- Dynamic columns not showing when render a html table HOT 4
- '"hybrids"' has no exported member named 'property'. Did you mean 'Property'? HOT 8
- Add support for "TypeScript v5" HOT 3
- I can't create an arbitrary number of nested forms: HOT 6
- Small Type Inferencing Issue with Property<E, V> HOT 6
- Cannot pass an object to the API via the "list" method HOT 7
- version 8.2.17 backwards compatibility is broken! HOT 9
- Expand the functionality of drafts
- sync() with nested models is broken HOT 4
- Allow storing an object in a component property HOT 4
- Add partial loading of model data HOT 3
- Why do you remove the lastValue? HOT 2
- The store logs a lot of errors HOT 4
- Convert a Whole Component to Web Component HOT 8
- Scoped CSS HOT 6
- lagging update glitch HOT 2
- Component properties cannot be setted until they are observed HOT 2
- `store.set()` is very slow HOT 5
- Store loads items data when iterating the list of items HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hybrids.