Socket
Socket
Sign inDemoInstall

perf-marks

Package Overview
Dependencies
1
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

1.14.2

Diff

Changelog

Source

[1.14.2][] - 2021-04-11

Added

  • Added blog post link in README.md

Updated

  • Decreasing bundle size of main bundle and perf-marks/marks entry-point 🎉
willmendesneto
published 1.14.1 •

Changelog

Source

[1.14.1][] - 2021-02-12

Fixed

  • Removing jest warning for typescript configuration in jest.config.js

Updated

  • Updating package dependencies
  • Updating project to use NodeJS v15.8.0
willmendesneto
published 1.14.0 •

Changelog

Source

[1.14.0][] - 2020-09-30

Updated

  • Updating package dependencies
  • end(): Adding built-in mark to compare if the application is not passing the values. This will give us all the required information for the consumers.

Without passing a mark to compare

import * as PerfMarks from 'perf-marks';

...
PerfMarks.start('name-of-your-mark');
...
const markResults: PerfMarks.PerfMarksPerformanceEntry = PerfMarks.end('name-of-your-mark');

Passing a mark to compare

import * as PerfMarks from 'perf-marks';

...
PerfMarks.start('name-of-your-mark');
PerfMarks.start('name-of-your-mark-to-be-compared-with');
...
const markResults: PerfMarks.PerfMarksPerformanceEntry = PerfMarks.end(
  'name-of-your-mark',
  'name-of-your-mark-to-be-compared-with'
);
willmendesneto
published 1.13.4 •

Changelog

Source

[1.13.4][] - 2020-08-21

Fixed

  • Fixing package distribution issue
willmendesneto
published 1.13.3 •

Changelog

Source

[1.13.3][] - 2020-08-21

Added

  • Adding dependency check via depcheck package

Updated

  • Updating dependencies to latest

Fixed

  • Removing unnecessary files from content to be published
  • Checking if module and module.require are available globally before confirm the package is running in a NodeJS environment.
willmendesneto
published 1.13.2 •

Changelog

Source

[1.13.2][] - 2020-08-01

Fixed

  • Removing mark to compare if passed into end() method
willmendesneto
published 1.13.1 •

Changelog

Source

[1.13.1][] - 2020-08-01

Updated

  • Updating bundle options for perf-marks/entries entry point
  • Updating bundle options for perf-marks/marks entry point
  • Updating bundle options for perf-marks/profiler entry point
  • Updating bundle options for perf-marks/utils entry point
willmendesneto
published 1.13.0 •

Changelog

Source

[1.13.0][] - 2020-08-01

Updated

  • Adding ES2020 bundle on published content. Now the package supports CommonJS, UMD, ESM, ES2015 and ES2020 📦
willmendesneto
published 1.12.2 •

Changelog

Source

[1.12.2][] - 2020-08-01

Fixed

  • Fixing UMD bundle by using Rollup. Typescript was required in the package and one of the TS functions is required in the bundle.
willmendesneto
published 1.12.1 •

Changelog

Source

[1.12.1][] - 2020-07-31

Fixed

  • Small bundle fix
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc