2022-11-07 07:25 AM
I am working on a set of keynote labels / legends in GDL, which rely mainly on the text I/O add-on to bring in tables of keynotes written in excel. It's working well enough so far, but I haven't got a good sense of how costly the text I/O actually is. I'm wondering if there is a way within Archicad to benchmark the time it takes to run a GDL script?
In particular, I am interested in knowing how INPUT commands (using text I/O where files are loaded into the library) compare to LIBRARYGLOBAL commands in terms of speed. I've figured out a way to process all the keynote tables just once, in an MVO object, but the trade-off is that I then have to send a number of potentially large arrays to all the keynote objects.
Solved! Go to Solution.
2022-11-08 01:45 PM
I created a small performance checker which reads the time at start and after placing the 2D symbol. You can change the number of spheres and the resolution of the spheres, so you can wait over a minute if you choose high values.
https://download.b-prisma.de/objekte/Performance Check.gsm
2022-11-08 01:45 PM
I created a small performance checker which reads the time at start and after placing the 2D symbol. You can change the number of spheres and the resolution of the spheres, so you can wait over a minute if you choose high values.
https://download.b-prisma.de/objekte/Performance Check.gsm
2022-11-08 05:38 PM
I see, you're using the Datetime add-on - unfortunately it only reports to the nearest second, so we have to repeat an operation many times to get a sense of performance. I will make a few tests and post the results here!