On Android, it takes about 7 seconds to load 1.6MB js.
50 views
Skip to first unread message
vroad
unread,
Sep 29, 2015, 12:29:23 AM9/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
I built nodejs for Android with some manual adjustments.
Node compiles and runs smaller js(around 100KB) without taking much time, but bigger js (around 1.6MB) takes much longer time to load. Is this just because arm Android devices has less computational power? Bigger one launches instantly on my PC.
How can I optimize this further? This script is already compressed, so another way might bn splitting this script up?
I didn't want to do that as splitting disables haxe's dead code elimination future, but I didn't come up with other things.
vroad
unread,
Oct 11, 2015, 12:41:26 PM10/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
I'd post this in v8-users, as this is more related to internal structure of v8.