Skip to content

satisfactory-dev/setup-PerformanceObserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Status Workflow Status

Install

  • npm install --save-dev @signpostmarv/setup-performance-observer

Usage

import setup_PerformanceObserver '@signpostmarv/setup-performance-observer';

const instance = new setup_PerformanceObserver({
	clear_lines: false,
	tweak_order_by_prefix: [
		'foo',
		'bar',
	],
});
instance.obs.observe({entryTypes: ['measure'], buffered: true});
// do work here
instance.log(); // maybe add this in a loop or interval

About

setup PerformanceObserver to log & semi-consistently sort measures

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •