Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Apr 17, 2020
1 parent 90fa691 commit 1d7eddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ English | [简体中文](./README-zh_CN.md)
* First Contentful Paint ([FCP](https://medium.com/@zizzamia/first-contentful-paint-with-a-touch-of-perfume-js-cd11dfd2e18f))
* Largest Contentful Paint (LCP)
* First Input Delay (FID)
* Framework components lifecycle monitoring
* Service Worker Status
* StorageManager interface

<br />
With Perfume.js, you can collect those metrics and have a deep understanding everywhere in the world how your customers perceive web performance for your application. Use your favorite analytics tool to visualize the data between countries. Here below how it might look a sample data for <b>FCP</b> between the United States, Italy, Indonesia, and Nigeria.
Expand Down Expand Up @@ -94,6 +95,7 @@ const perfume = new Perfume({
myAnalyticsTool.track('largestContentfulPaint', { duration: data });
break;
default:
myAnalyticsTool.track(metricName, { duration: data });
break;
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "perfume.js",
"version": "5.0.0-rc.1",
"version": "5.0.0-rc.2",
"description": "JavaScript library that measures Navigation Timing, First (Contentful) Paint (FP/FCP), First Input Delay (FID) and components lifecycle performance. Report real user measurements to your favorite analytics tool.",
"keywords": [
"performance-metrics",
Expand Down

0 comments on commit 1d7eddf

Please sign in to comment.