profile-it

This is a profiling tool for JS code.

Usage no npm install needed!

<script type="module">
  import profileIt from 'https://cdn.skypack.dev/profile-it';
</script>

README

Profile-It: Simple Javascript Function Profiling

Profile-it is a tool for profiling JS functions.

Getting Started

Profile-it can be installed by running

npm install profile-it

Import the package

const profileIt = require("profile-it");

Profiler

Profile your function with a specified number of tests

profileIt.profile(function, numTests);