Skip to content

Commit

Permalink
chore: release v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Mar 3, 2018
1 parent 24c8996 commit 1677d79
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.6.0 (2018-3-3)

### Bug Fixes

* **test:** Increased cross-browser tests and separate the native logic from the emulated version [#24c8996](https://github.com/Zizzamia/perfume.js/commit/24c8996fa894e64e928b84ec680e2fa61df4aa99) [#22](https://github.com/Zizzamia/perfume.js/issues/22).


## 0.5.0 (2018-1-14)

### Features
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a href="http://zizzamia.github.io/perfume/"><img src="https://github.com/Zizzamia/perfume.js/blob/master/docs/src/assets/perfume-logo-v0-5-0.png" align="left" width="262" /></a>

# [Perfume.js v0.5.0](http://zizzamia.github.io/perfume/)
# [Perfume.js v0.6.0](http://zizzamia.github.io/perfume/)
[![NPM version](https://badge.fury.io/js/perfume.js.svg)](https://www.npmjs.org/package/perfume.js) [![Build Status](https://travis-ci.org/Zizzamia/perfume.js.svg?branch=master)](https://travis-ci.org/Zizzamia/perfume.js) [![NPM Downloads](http://img.shields.io/npm/dm/perfume.js.svg)](https://www.npmjs.org/package/perfume.js) [![Test Coverage](https://api.codeclimate.com/v1/badges/f813d2f45b274d93b8c5/test_coverage)](https://codeclimate.com/github/Zizzamia/perfume.js/test_coverage)

> Perfume is a JavaScript library for measuring Short and Long Script, First Contentful Paint ([FCP](https://developers.google.com/web/updates/2017/06/user-centric-performance-metrics#first_paint_and_first_contentful_paint)), Time to Interactive ([TTI](https://developers.google.com/web/tools/lighthouse/audits/time-to-interactive)), Component First Paint (CFM), annotating them to the DevTools timeline and reporting the results to Google Analytics.
Expand Down Expand Up @@ -91,7 +91,7 @@ const perfume = new Perfume({
```javascript
perfume.start('fibonacci');
fibonacci(400);
perfume.end('fibonacci');
perfume.end('fibonacci');
// ⚡️ Perfume.js: fibonacci 0.14 ms
```
![Performance Mark](https://github.com/Zizzamia/perfume.js/blob/master/docs/src/assets/performance-mark.png)
Expand All @@ -103,7 +103,7 @@ This metric mark the point, immediately after creating a **new component**, when
```javascript
perfume.start('togglePopover');
$(element).popover('toggle');
perfume.endPaint('togglePopover');
perfume.endPaint('togglePopover');
// ⚡️ Perfume.js: togglePopover 10.54 ms
```
![Performance CFP](https://github.com/Zizzamia/perfume.js/blob/master/docs/src/assets/performance-cfp.png)
Expand All @@ -119,7 +119,7 @@ const perfume = new Perfume({
perfume.start('fibonacci');
fibonacci(400);
const duration = this.perfume.end('fibonacci');
perfume.log('Custom logging', duration);
perfume.log('Custom logging', duration);
// 🍻 Beerjs: Custom logging 0.14 ms
```

Expand Down
4 changes: 2 additions & 2 deletions docs/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Angular & Third Party
import { Component, ElementRef, ChangeDetectorRef } from '@angular/core';
// import Perfume from 'perfume.js';
import Perfume from '../../../src/perfume';
import Perfume from 'perfume.js';
// import Perfume from '../../../src/perfume';

declare const $: any;

Expand Down
23 changes: 20 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
{
"name": "perfume.js",
"version": "0.5.0",
"description": "",
"keywords": [],
"version": "0.6.0",
"description": "JavaScript library for measuring Short and Long Script, First Contentful Paint (FCP), Time to Interactive (TTI), Component First Paint (CFM), annotating them to the DevTools timeline and reporting the results to Google Analytics.",
"keywords": [
"performance-metrics",
"google-analytics",
"paint",
"perfume",
"metrics",
"javascript-library",
"timeline",
"time-to-interactive",
"first-contentful-paint",
"devtools",
"tti",
"fcp",
"user-timing",
"web-performance",
"web-performance-reports",
"webperf"
],
"main": "dist/perfume.umd.js",
"module": "dist/perfume.es5.js",
"typings": "dist/types/perfume.d.ts",
Expand Down

0 comments on commit 1677d79

Please sign in to comment.