Passing Row Value into a Component

I was actually about to look up which one was more performant, I know they're technically both terrible for performance if overused but I never remember which is less bad.

EDIT: Yeah, found the thread. Something about transforms adds a really nasty bottleneck to execution. Nothing that matters if your script only executes once every second, but adds up if you have multiple.

As a bonus, with runScript() you'd be able to set up a polling rate naturally, whereas with the script transform, you'd have to call now() in the base expression since otherwise it will never refresh.

1 Like