exact same script in legacy ipy2, rhino 8 py3 and rhino 8 ipy2
sometimes the new ones run slower than the legacy
The newer script components may perform slower, but I doubt it has something to do with reading libraries. IronPython at least always translates into a .Net dll, and as such it pre-compiles the script into dll’s either in-memory or within a temp file. I think in old Grasshopper it was always stored on the disk. Usually once it has been loaded, it remains in memory. So executing the exact same script should perform even faster, since it does not need to compile and load it. It could be that the newer components may always recompile (at least if the editor is open) and therefore you see that delay. The question is what you are measuring here (and what not) …
Indeed, though at least the new IronPython component has been optimised to be on par with GHPython now. See this topic:
Edit: Sorry, and this one:
I’m measuring simply by what the profiler says.
Not sure why it’s inconsistent either. As you see in my screen capture, it only takes longer on some solutions.