pomber/didact

Possible Starvation Issues

thysultan opened this issue · 3 comments

I think i might have come across some starvation issues for both the linked React and Didact demos on my machine.

In one scenario i open page and the section(with text content) below the solar system never gets to render, in another scenario they do get to render but only on cycles where i either switch tabs(enough idle time?) or some other factor contributing to freeing up CPU cycles for it to render(initial) or update.

The synchronous version does not share the same issue.

It might make sense to open an issue in React as well if the issue(assuming i'm not mistake) is not related to the implementation details of the specific demo.

Hardware Overview:
Model Name:             MacBook Air
Model Identifier:       MacBookAir6,1
Processor Name:         Intel Core i5
Processor Speed:        1.3 GHz
Number of Processors:   1
Total Number of Cores:  2
L2 Cache (per Core):    256 KB
L3 Cache:               3 MB
Memory:                 4 GB
Boot ROM Version:       MBA61.0099.B33
SMC Version (system):   2.12f143
Serial Number (system): C02M32TSF5N8
Hardware UUID:          B47DCA38-89A5-5C73-9E7D-4E47AEE0320B

Sounds like this may have been a browser issue.

Is it still an issue?

Sounds like this may have been a browser issue.

Possibly still is an issue with requestIdleCallback.

Is it still an issue?

Yes, i can still reproduce it.

Sounds like this may have been a browser issue.

Possibly still is an issue with requestIdleCallback.

Is it still an issue?

Yes, i can still reproduce it.

i guess because of safari support
https://caniuse.com/#feat=requestidlecallback