Skip to content

Commit 52b6653

Browse files
committed
Bumped v1.0.0.
1 parent 043d1c9 commit 52b6653

File tree

2 files changed

+39
-17
lines changed

2 files changed

+39
-17
lines changed

README.md

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,23 @@ This produces:
5959
As far as we know, it is the fastest logger in town:
6060

6161
```
62-
benchBunyan*10000: 1075.649ms
63-
benchWinston*10000: 1840.185ms
64-
benchBole*10000: 1635.768ms
65-
benchPino*10000: 265.838ms
66-
benchBunyanObj*10000: 1250.343ms
67-
benchWinstonObj*10000: 1828.912ms
68-
benchPinoObj*10000: 357.569ms
69-
benchBoleObj*10000: 1594.823ms
70-
benchBunyan*10000: 1082.447ms
71-
benchWinston*10000: 1717.277ms
72-
benchBole*10000: 1591.113ms
73-
benchPino*10000: 260.141ms
74-
benchBunyanObj*10000: 1231.469ms
75-
benchWinstonObj*10000: 1807.529ms
76-
benchPinoObj*10000: 385.072ms
77-
benchBoleObj*10000: 1542.180ms
62+
benchBunyan*10000: 1230ms
63+
benchWinston*10000: 2139ms
64+
benchBole*10000: 1615ms
65+
benchPino*10000: 314ms
66+
benchBunyan*10000: 1135ms
67+
benchWinston*10000: 2025ms
68+
benchBole*10000: 1635ms
69+
benchPino*10000: 312ms
70+
benchBunyanObj*10000: 1480ms
71+
benchWinstonObj*10000: 2252ms
72+
benchPinoObj*10000: 409ms
73+
benchBoleObj*10000: 1765ms
74+
benchBunyanObj*10000: 1415ms
75+
benchWinstonObj*10000: 2224ms
76+
benchPinoObj*10000: 400ms
77+
benchBoleObj*10000: 1739ms
78+
benchBunyanObj*10000: 1366ms
7879
```
7980

8081

@@ -174,6 +175,27 @@ It leverages the output stream of the parent and
174175
its log level. These settings are immutable and pulled out during the
175176
instantiation of the child logger.
176177
178+
Creating a child logger is fast:
179+
180+
```
181+
benchPinoCreation*10000: 507ms
182+
benchBunyanCreation*10000: 1473ms
183+
benchBoleCreation*10000: 1648ms
184+
benchPinoCreation*10000: 461ms
185+
benchBunyanCreation*10000: 1448ms
186+
benchBoleCreation*10000: 1621ms
187+
```
188+
189+
And logging throuh a child logger has little performance penalty:
190+
191+
```
192+
benchPinoChild*10000: 394ms
193+
benchBoleChild*10000: 1504ms
194+
benchBunyanObj*10000: 1326ms
195+
benchPinoChild*10000: 368ms
196+
benchBoleChild*10000: 1486ms
197+
```
198+
177199
<a name="level"></a>
178200
### logger.level
179201

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pino",
3-
"version": "0.4.2",
3+
"version": "1.0.0",
44
"description": "fast and simple logger",
55
"main": "pino.js",
66
"bin": {

0 commit comments

Comments
 (0)