Grasshopper

algorithmic modeling for Rhino

Ridiculous profiler memory usage of Min/Max Components

Does anyone know if it is normal that Min/Max Component uses so much memory? The list is flatten and has only 12 values ? ? :/

Views: 693

Replies to This Discussion

The percentage that shows underneath the components doesn't correspond to memory, but instead corresponds to % of computation time. Since you only have a few other components on your canvas the percentage is very high for the min/max calculation. It is still only taking 5 milliseconds to compute. As soon as you create more components that calculation % will drop significantly.

Also note that the first time a component runs it will take longer because it has to be compiled. So you typically can't trust those profiler values until after all components have run several times.

I don't recognise the icon though, which component is it? 5ms for a min/max search of 12 values does sound excessively long.

Thanks, it was Min/Max component

Yeah but where did it come from? Which plug-in provided it?

Sorry, it's Heteroptera I didn't realize it was a plug-in.

It explains also computation time as well.

Maybe. You can do this directly in Grasshopper as well. The Bounds component in the Domain panel creates a numeric interval which encompasses a collection of numbers. If you then extract the lower and upper limits of this bounding domain, it's basically the same as the minimum and maximum value. This approach requires two components, so at least currently your file is simpler.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service