GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore!: Drop support for Node 8 (#111) · google/pprof-nodejs@f44ee9a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yaml
  • README.md
  • system-test
    • Dockerfile.node8-alpine
    • system_test.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yaml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [8, 10, 12, 13]
12+
node: [ 10, 12, 13]
1313
steps:
1414
- uses: actions/checkout@v1
1515
- uses: actions/setup-node@v1
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+9-12Lines changed: 9 additions & 12 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,20 @@
77
[pprof][pprof-url] support for Node.js.
88

99
## Prerequisites
10-
1. Your application will need to be using Node.js 8.9.4 or greater, Node.js
11-
10.4.1 or greater, or any version of Node 12. The profiler should not be
12-
enabled when using earlier versions of Node 8 and 10 because the profiler is
13-
not stable with those versions of Node.js.
14-
* Versions of Node.js 8 prior to 8.9.4 are impacted by
15-
[this](https://bugs.chromium.org/p/v8/issues/detail?id=6623) issue, which
16-
causes a memory leak when time profiling is enabled.
17-
* Versions of Node.js 10 prior to 10.4.1 are impacted by
18-
[this](https://bugs.chromium.org/p/chromium/issues/detail?id=847863) issue,
19-
which can cause garbage collection to take several minutes when heap
20-
profiling is enabled.
10+
1. Your application will need to be using Node.js 10.4.1 or greater, or any
11+
version of Node 12.
12+
13+
The profiler should not be enabled when using earlier versions of Node 10,
14+
since versions of Node.js 10 prior to 10.4.1 are impacted by
15+
[this](https://bugs.chromium.org/p/chromium/issues/detail?id=847863) issue,
16+
which can cause garbage collection to take several minutes when heap profiling
17+
is enabled.
2118

2219
2. The `pprof` module has a native component that is used to collect profiles
2320
with v8's CPU and Heap profilers. You may need to install additional
2421
dependencies to build this module.
2522
* For Linux: `pprof` has prebuilt binaries available for Linux and Alpine
26-
Linux for Node 8, 10, 11 and 12. No additional dependencies are required.
23+
Linux for Node 10, 11 and 12. No additional dependencies are required.
2724
* For other environments: when using `@google-cloud/profiler` on environments
2825
that `pprof` does not have prebuilt binaries for, the module
2926
[`node-gyp`](https://www.npmjs.com/package/node-gyp) will be used to
Collapse file

‎system-test/Dockerfile.node8-alpine‎

Copy file name to clipboardExpand all lines: system-test/Dockerfile.node8-alpine
-14Lines changed: 0 additions & 14 deletions
This file was deleted.
Collapse file

‎system-test/system_test.sh‎

Copy file name to clipboardExpand all lines: system-test/system_test.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [[ "$RUN_ONLY_V8_CANARY_TEST" == "true" ]]; then
2020
NVM_NODEJS_ORG_MIRROR="https://nodejs.org/download/v8-canary"
2121
NODE_VERSIONS=(node)
2222
else
23-
NODE_VERSIONS=(8 10 11 12)
23+
NODE_VERSIONS=(10 11 12)
2424
fi
2525

2626
for i in ${NODE_VERSIONS[@]}; do
@@ -35,7 +35,7 @@ for i in ${NODE_VERSIONS[@]}; do
3535

3636
# Test support for accurate line numbers with node versions supporting this
3737
# feature.
38-
if [ "$i" != "8" ] && [ "$i" != "10" ] && [ "$i" != "11" ]; then
38+
if [ "$i" != "10" ] && [ "$i" != "11" ]; then
3939
docker run -v $PWD/..:/src -e BINARY_HOST="$BINARY_HOST" \
4040
-e VERIFY_TIME_LINE_NUMBERS="true" node$i-linux \
4141
/src/system-test/test.sh

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.