Comments (2)
Just as another test, I took the obvious performance improvement and ran all the functions in parallel with Promise.allSettled
and they still have an increasing time.
Code is available in the same reproduction https://github.com/AlexanderHott/slow-expo-file-system
LOG data [36.656453013420105, 37.94299300014973, 39.215048000216484, 40.38867200911045, 41.60709600150585, 42.62133799493313, 43.65311600267887, 45.618001997470856, 47.21626798808575, 48.447062000632286, 53.82718899846077, 54.94844500720501, 56.557698011398315]
from expo.
I overlooked a small detail on my end. The call to const start = performance.now()
is run immediately, while the await
directly after it may not start executing it immediately, essentially making it cumulative.
However, when debugging this issue, I found that readAsStringAsync
spends almost half it's executing time serializing the bytes as base64, and I spend a greater amount of time decoding it on the javascript side. Would there be a way to avoid this overhead?
from expo.
Related Issues (20)
- expo build crashes if font files are in .gitignore HOT 6
- Local Images Broken After Expo Update HOT 3
- [expo-updates] NSRangeException range {185, 323} exceeds data length 184 HOT 1
- Receiving the following error on running iOS Maestro tests on Expo Server: Error: Request for viewHierarchy failed, because of unknown reason, body: {"code":"internal","errorMessage":"Unable to perform work on main run loop, process main thread busy for 30.0s"} 29 ❌ Error: BlockingCoroutine is cancelling HOT 2
- Is there a way in Expoto downgraded the Xcode Cloud version to Ventura 13.6.3 and Xcode 14.3.1 and then the simulator to iOS 16.4. HOT 1
- [expo-video] currentTime set in useVideoPlayer setup callback is ignored on Android HOT 2
- [expo-video] player instance in multiple VideoView components doesn't play in Android HOT 2
- expo/types is not published HOT 3
- Does Expo Push Notification have a listener for pending notifications as soon as internet is turned on? HOT 1
- Is there a way to listen for pending Expo push notifications that are delivered as soon as the internet connection is restored? HOT 1
- Build scripts are not friendly with "Integrating with existing apps" HOT 1
- SafeArea not clickable HOT 1
- SafeArea not clickable HOT 2
- iOS crashing in Bridgeless mode HOT 1
- [docs] A Next.js app with the recommended settings doesn't output the styles on SSR HOT 1
- Integrating Expo App to existing iOS App("brownfield") HOT 1
- I want a feature of implementing a Expo snack to debug some basic CSS of React Native Expo on WEB? Is there Any alternative platform to use it ? HOT 1
- [docs] Unresolved reference: Coroutine HOT 2
- how many builds in a month with free tier? and how can I increase the number of build monthly? how much does it cost? HOT 1
- is it possible to use expo-modules and create native cpp code? HOT 1
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 expo.