Re: New pre-processor interface added to Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ok, in regards to speed test. I've just got done benchmarking Euphoria with the new pre-processor DLL/so interface. This saves spawning a new process each time a file needs to be pre-processed. Although I did not test this on a big program, it does pre-process two files using the dot4 pre-processor, which is fairly complex.

Time to run when pre-processing is forced: 0.0630 Time to run when pre-processing is cached: 0.0621

0.0009 seconds different!

Now, obviously this will increase if you are running/compiling a 200,000 line program, but the idea is that it adds very little to the overall startup time, even when it does have to pre-process and rarely (except for the first run) will you ever have to pre-process hundreds of files. Normally, you will run eui, all the pre-processing will take place, you make a change to a file or two and re-run, so maybe 1 or 2 files will have to be processed again.

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu