A benchmarking suite for Roku's BrightScript runtime (written in brighterscript)
git clone https://github.com/rokucommunity/bsbench
cd bsbench
npm installOpen vscode, and start a new debug session to watch it run.

You can run the benchmark library from the cli as well. From within the project directory, run the following command (yes, the extra -- is intentional):
npm run benchmark -- --host ROKU_IP_ADDRESS --password ROKU_DEV_PASSWORDUse --only to run a subset of suites by name. Each pattern is a case-insensitive regex matched against the suite name. Multiple patterns are OR'd together.
# Run a single suite
npm run benchmark -- --host ROKU_IP_ADDRESS --password ROKU_DEV_PASSWORD --only roRegex
# Run multiple suites
npm run benchmark -- --host ROKU_IP_ADDRESS --password ROKU_DEV_PASSWORD --only roRegex StringConcat
# Match suites starting with "Array"
npm run benchmark -- --host ROKU_IP_ADDRESS --password ROKU_DEV_PASSWORD --only "^Array"
# Match all Field* suites OR all String* suites
npm run benchmark -- --host ROKU_IP_ADDRESS --password ROKU_DEV_PASSWORD --only "^Field" "^String"