Graphical icon indicating copy to clipboard operation
Graphical copied to clipboard

Use 'gt' and 'lt' operators for better performance

Open jffaust opened this issue 4 years ago • 2 comments

jffaust avatar Jul 13 '21 22:07 jffaust

I wanted to show 2 graphs. One for success and one for failures. The first one would show green bars and the second red ones. Based on the implementation, I provided a color map like this -ColorMap @{99999999 = 'red' } so that the graph has only one color and the number is the upper bound. Then, I ran the script and it was super slow / only rendered a couple lines after a while: image

jffaust avatar Jul 13 '21 22:07 jffaust

This is a welcomed performance fix. Good job. I was not seeing this issue because I usually have only one or MAX 2 graphs with original coloring...

ghost avatar Nov 09 '21 08:11 ghost