Skip to Main Content
WebGL Insights
book

WebGL Insights

by Patrick Cozzi
August 2015
Intermediate to advanced content levelIntermediate to advanced
416 pages
16h 58m
English
A K Peters/CRC Press
Content preview from WebGL Insights
594.3 Performance
Math operations, of the kind described previously, are unavoidable in WebGL applica-
tions. Early on in Cesium’s development it was not uncommon to prole a particular use
case only to discover that 50% of the time was being spent in garbage collection. Avisual
representation of this issue appears as a deep sawtooth pattern in browser proling tools,
as shown in Figure4.2. e peaks are when the garbage collector kicks in, freeing mem-
ory but stealing valuable processing time from our own code. is kind of unwanted
memorychurn is usually created by algorithms that compute intermediate values that are
quickly thrown away. Fo ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

James L. Williams

Publisher Resources

ISBN: 9781498716079