To be (somewhat) fair, I was comparing a first load on both of them. The React 
version needed to load external resources to render.

It’s not a totally unfair comparison because the first load is affected. Part 
of the reason assets are loaded dynamically in React is because performance is 
simply horrible otherwise.

Even comparing subsequent loads, the React version is over 200 ms.


I’ll compare initial page load time once I finish the demo.

Right now it’s 1.2 seconds compared to React’s 1.7 seconds, and I’m probably 
loading more assets than I need to before rendering…

> On Jan 13, 2020, at 4:23 PM, Harbs <[email protected]> wrote:
> 
> FYI, I took the opportunity to compare a similar React implementation to the 
> Royale one.
> 
> Switching component views in React took about 500 ms, while in Royale it took 
> under 40 ms.
> Royale:
> https://www.evernote.com/l/AI_tvFQmLmxMIKoex5T3iLbCL5E7Y2XqGQc 
> <https://www.evernote.com/l/AI_tvFQmLmxMIKoex5T3iLbCL5E7Y2XqGQc>
> 
> React:
> https://www.evernote.com/l/AI-kSFHyYHFCWou_2mp4I-jqIB1toKyMryU 
> <https://www.evernote.com/l/AI-kSFHyYHFCWou_2mp4I-jqIB1toKyMryU>
> 
> This confirms my suspicion that we have a huge performance advantage with 
> Royale…
> 
> Harbs
> 
>> On Jan 13, 2020, at 3:06 PM, Carlos Rovira <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Harbs,
>> 
>> cool to see that showcased!.
>> I think apps that demo code is very needed to make people understand
>> quickly what a concrete code or library can do for them.
>> 
>> Thanks :)
>> 
>> Carlos
>> 
>> El lun., 13 ene. 2020 a las 11:06, Harbs (<[email protected] 
>> <mailto:[email protected]>>) escribió:
>> 
>>> That would be great. (fixed your suggestions)
>>> 
>>> FYI, the code for the panes is here:
>>> https://github.com/unhurdle/spectrum-royale/tree/master/SpectrumBrowser/src/view/panes
>>>  
>>> <https://github.com/unhurdle/spectrum-royale/tree/master/SpectrumBrowser/src/view/panes>
>>> 
>>>> On Jan 13, 2020, at 1:43 AM, Andrew Wetmore <[email protected]> wrote:
>>>> 
>>>> This will be great! By the way, if you want any text review I would be
>>>> happy to help. For example, "Varients" should be "Variants"
>>>> 
>>>> On Sun, Jan 12, 2020 at 7:30 PM Harbs <[email protected]> wrote:
>>>> 
>>>>> FYI, I’ve been working on filling out a demo the Spectrum Royale
>>>>> components:
>>>>> https://unhurdle.github.io/spectrum-royale/ <
>>>>> https://unhurdle.github.io/spectrum-royale/>
>>>>> 
>>>>> I’m going to be filling them out over the next week…
>>>>> 
>>>>> Harbs
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Andrew Wetmore
>>>> 
>>>> http://cottage14.blogspot.com/
>>> 
>>> 
>> 
>> -- 
>> Carlos Rovira
>> http://about.me/carlosrovira <http://about.me/carlosrovira>
> 

Reply via email to