It can run on client and server side, depends on where are you implementing it.
Workflow Tab: Client Side
API Workflow: Server Side

Comparing with Advanced filter this might be computational efficient.