-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing performance #10
Comments
Investigating this, it seems to be related to NeuroML getting LEMS definitons for NeuroML in the one single NeuroML file. |
Don't know if that helps, but here's the log of my local webserver (hosting the example) when loading ACnet2:
Do the multiple identical GET make sense? Are things parsed each time a GET is made? |
The multiple GET I fixed already, I'm still debugging it, the comic strip in your desk describes well where I am, about to spot some bugs in the fabric of the universe itself. |
The auditory cortex parsing time once I rewrote the inclusion reader, now the NeuroML file doesn't contain anymore NeuroML types (only its LEMS counterpart does). "NeuroML is LEMS" FTW.
|
I was doing some profiling of Geppetto to see where the bulk of the time was spent with NeuroML documents, I found the following:
With the Purkinje cell:
With the Auditory cortex model:
Auditory is twice the size and takes ten times the time to parse.
Twenty seconds is a LOT (even one second is).
This is the code
Using version 1.4.0. but pretty sure it's the same with any version. This is with single selfcontained neuroml files that contain all the inclusion inside them.
cc @pgleeson @adrianq @borismarin
The text was updated successfully, but these errors were encountered: