-
Couldn't load subscription status.
- Fork 116
Description
I have an ICAL file with 6000 events which take more than 10 seconds to process within my React Native (Expo) app on an iOS device.
The new ICAL.Event() initializer is taking more than 1.5 ms each. If I manually remove the majority of the VEVENT's until I have 100 events remaining, the new ICAL.Event() only takes 0.05 ms each.
Re-adding the events in batches increase the time it takes for each individual event. I suspect it has to do with the possible relationships between the events which it has to evaluate for each event.
Can you confirm this is the case?
Though, even when evaluating the relationships, I think it should not take so long on a high end device. Is this something known, or maybe only on Hermes engine?
Thanks! And also thanks for the great project and efforts taken for this to exist!
React: 19.0.0
React Native: 0.79.2
Expo: 53.0.7