cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

GDL speed testing

s_p_b
Contributor

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.

1 ACCEPTED SOLUTION
2 REPLIES 2

Solution
Joachim Suehlo
Advisor

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 

Joachim Suehlo . AC12-26 . MAC OSX 10.15 . WIN10

s_p_b
Contributor

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!

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!