[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Support precompiled shaders as extensions

On Tue, Nov 15, 2016 at 9:11 PM, Jukka Jylänki <jujjyl@gmail.com> wrote:
and 300-400 msecs is not uncommon

Just as a reference, gcc typically manages to finish a compile & link from a cold start (without precompiled headers) that includes stdio and a bunch of other standard libraries and several thousand lines of C within around 100ms... 

Python usually loads up textfiles with the source and converts them to binary code to run in the python runtime, it can run through hundreds of files and hundreds of thousands of lines of code in a few dozen milliseconds.

GLSL compiles sure do seem unnecessarily slow relatively.