0.1.5 • Published 7 years ago

rafmeter-injector v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

About

Adds instrumentation to a bunch of html pages for measuring the raf/fps.

How it works

It looks up in all the files described with a glob pattern and if not already present adds a small raf/fps meter at the beginning of each file. The instrumentation being injected is here: rafmeter

Usage

Install it globally:

npm install rafmeter-injector -g

Run it with a glob pattern argument:

rafmeter-injector 'path/to/my/app/**/*.html'

Specifying the html extension in the lookup pattern is important.

Be default the files under node_modules folders are being excluded. Multiple custom exclusions can be specified after the lookup pattern:

rafmeter-injector 'path/to/search/*.html' '**/exclude/bin/folder**' 'excludeFile.html' 'excludeAnotherFile.html'
0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago