render-jsx
render-jsx copied to clipboard
optimize plugin performance by using more efficient plugin search / looping
In various stages (create, setprop, render, etc) we are looping over a few plugins to see who would take responsibility for said operation. however, as observable here, these processes (specifically element creation phase) can be relatively slow. Perhaps we can speed up these stages in a few different ways.
One particular method would be using more efficient looping syntax and smarter searching / filtering. The effect of these methods should be tested properly using this benchmarking tool. Render-JSX does not officially qualify for said benchmark since it is not a proper framework (it is basis for frameworks), but local comparisons with likes of Callbag-JSX (which use the latest published version of Render-JSX) will be useful.