Twitter | Search | |
James Long
Contracting as Shift Reset LLC. Furiously working on and will despair if not launched soon. Created . Ex-Mozilla.
14,887
Tweets
781
Following
16,670
Followers
Tweets
James Long 13h
Replying to @jkup @ken_wheeler
If I had photoshop I’d photoshop this
Reply Retweet Like
James Long 13h
Replying to @ken_wheeler
btw I’m gonna grill two steaks tomorrow and eat ‘em up just for you
Reply Retweet Like
James Long 13h
Replying to @ken_wheeler
I’m disappointed I don’t see a steak
Reply Retweet Like
James Long 13h
$400? I can do that myself. *$1000 later* ok now I just need to learn how to join these two pieces...
Reply Retweet Like
James Long Jul 14
Replying to @ken_wheeler
understatement
Reply Retweet Like
James Long Jul 14
Replying to @ken_wheeler
The last part took me by surprise. Had to google. They can't even get reimbursed for meals including meat??
Reply Retweet Like
James Long Jul 14
Just noticed I said "great Brian" haha 😅 meant "great work!"
Reply Retweet Like
James Long Jul 14
I hate pinging people that have already been pinged several times, but thanks for looking into it again. I don't know anything about systrace... I'm looking into seeing if JavaScriptCore provides any profiling hooks
Reply Retweet Like
James Long Jul 14
Wait svg doesn't get any gpu rendering?
Reply Retweet Like
James Long Jul 14
True, only concern would be rewriting in canvas is basically a full rewrite. (or check out ?) Anyway, great Brian, don't mean to be second guessing or anything.
Reply Retweet Like
James Long Jul 14
That's true. Has been better recently I think though. Devtools did window SVG I think, that's a natural optimizations. We were dealing with huge datasets and the default profile view is the entire flame graph, so windowing doesn't help. Naturally, do what works and iterate tho
Reply Retweet Like
James Long Jul 14
Replying to @brian_d_vaughn
Interesting that you're using svg. The firefox devtools team compared that and canvas and went with canvas since it scaled better on huge flamegraphs. Ran into any perf issues on huge ones?
Reply Retweet Like
James Long Jul 13
Replying to @chrisnojima
not useful for many cases. It's an entirely different JavaScript engine and far beefier device. Need to profile JavaScriptCore itself and find its quirks
Reply Retweet Like
James Long Jul 13
I haven't been able to find any primitives in iOS JavaScriptCore itself to get any data though. I think there's some stuff there but there's almost no tooling built around it
Reply Retweet Like
James Long Jul 13
Ah sorry!
Reply Retweet Like
James Long Jul 13
A normal flamechart, yes.
Reply Retweet Like
James Long Jul 13
I'm not talking about React, just normal JavaScript. Profiling in Chrome isn't useful at all; it's a totally different (much more powerful) device. I need actual timings, not the general React mount/update timeline
Reply Retweet Like
James Long Jul 13
That's React. I need to profile normal JS code, no React
Reply Retweet Like
James Long Jul 13
Replying to @chrisnojima
Right, profiling in chrome isn't useful. Totally different device with different specs. Did systrace show per-function flame graph?
Reply Retweet Like
James Long Jul 13
All I want is a JavaScript flame graph for React Native. Is anybody working on that?
Reply Retweet Like