Skip to content

Commit

Permalink
release v1.3.0
Browse files Browse the repository at this point in the history
Notable Changes:

  - Support new cpuprofile format
  - Support cpu_180, cpu_300 & cpu_600

Commits:

  - [1e3ddb7] feat: new cpuprofile format
  - [395a678] feat: support cpu_180, cpu_300 & cpu_600
  - [430b13e] deps: update dependencies
  - [e6c60e6] feat: support node-v17.x
  - [383aacd] (origin/convert_to_typescript, convert_to_typescript) optimize: logic of dump actions
  - [d4265d2] deps: update dependencies
  - [5a95320] fix: potential memory leak (v8) when profiling

PR-URL: #114
Published-Reviewed-BY: hyj1991 <[email protected]>
  • Loading branch information
hyj1991 authored Dec 14, 2021
1 parent 1e3ddb7 commit d363f1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xprofiler",
"version": "1.2.6",
"version": "1.3.0",
"description": "node.js addon to output runtime logs",
"bin": {
"xprofctl": "bin/xprofctl"
Expand Down
6 changes: 3 additions & 3 deletions scripts/7u.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ const build = require('./build');
const nodeVersions = [
'node-v12.22.7',
'node-v13.14.0',
'node-v14.18.1',
'node-v14.18.2',
'node-v15.14.0',
'node-v16.13.0',
'node-v17.0.1',
'node-v16.13.1',
'node-v17.2.0',
];

build(nodeVersions);
6 changes: 3 additions & 3 deletions scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const nodeVersions = [
'node-v11.15.0',
'node-v12.22.7',
'node-v13.14.0',
'node-v14.18.1',
'node-v14.18.2',
'node-v15.14.0',
'node-v16.13.0',
'node-v17.0.1',
'node-v16.13.1',
'node-v17.2.0',
];

build(nodeVersions);
4 changes: 2 additions & 2 deletions test/fixtures/command.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const cpuprofile = {
id: /^\d+$/,
hitCount: /^\d+$/,
callFrame: {
functionName: /^([.\w\s()-_]+|)$/,
functionName: /^([$.\w\s()-_]+|)$/,
scriptId: /^\d+$/,
bailoutReason: /^([\w\s]+|)$/,
url: /^([@.\w()/\\:_-]+|)$/,
Expand Down Expand Up @@ -96,7 +96,7 @@ const heapsnapshot = {
const heapprofile = {
head: {
callFrame: {
functionName: /^([.\w\s()-_]+|)$/,
functionName: /^([$.\w\s()-_]+|)$/,
scriptId: /^\d+$/,
url: /^([@.\w()/\\:_-]+|)$/,
lineNumber: /^\d+$/,
Expand Down

0 comments on commit d363f1c

Please sign in to comment.