Skip to content

Commit 052336b

Browse files
committed
debug
1 parent 5c1110f commit 052336b

File tree

4 files changed

+58
-52
lines changed

4 files changed

+58
-52
lines changed

.appveyor.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ install:
1313

1414
test_script:
1515
- node --version
16-
- yarn --version
17-
- yarn test
18-
- node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/{basic,commands,generate,build/styles}/**"
16+
# - yarn --version
17+
# - yarn test
18+
# - node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/{basic,commands,generate,build/styles}/**"
1919

20-
build: off
21-
deploy: off
20+
# build: off
21+
# deploy: off
2222

23-
cache:
24-
- node_modules -> yarn.lock
25-
- "%LOCALAPPDATA%\\Yarn"
23+
# cache:
24+
# - node_modules -> yarn.lock
25+
# - "%LOCALAPPDATA%\\Yarn"

.circleci/config.yml

+44-44
Original file line numberDiff line numberDiff line change
@@ -139,47 +139,47 @@ workflows:
139139
default_workflow:
140140
jobs:
141141
- install
142-
- lint:
143-
requires:
144-
- install
145-
- validate:
146-
requires:
147-
- install
148-
- build:
149-
requires:
150-
- lint
151-
- validate
152-
- build-bazel:
153-
requires:
154-
- lint
155-
- validate
156-
- test:
157-
requires:
158-
- build
159-
- test-large:
160-
requires:
161-
- build
162-
- e2e-cli:
163-
requires:
164-
- build
165-
- benchmark:
166-
requires:
167-
- build
168-
- snapshot_publish:
169-
requires:
170-
- test
171-
- build
172-
- e2e-cli
173-
filters:
174-
branches:
175-
only: master
176-
- publish:
177-
requires:
178-
- test
179-
- build
180-
- snapshot_publish
181-
filters:
182-
tags:
183-
only: /^v\d+/
184-
branches:
185-
ignore: /.*/
142+
# - lint:
143+
# requires:
144+
# - install
145+
# - validate:
146+
# requires:
147+
# - install
148+
# - build:
149+
# requires:
150+
# - lint
151+
# - validate
152+
# - build-bazel:
153+
# requires:
154+
# - lint
155+
# - validate
156+
# - test:
157+
# requires:
158+
# - build
159+
# - test-large:
160+
# requires:
161+
# - build
162+
# - e2e-cli:
163+
# requires:
164+
# - build
165+
# - benchmark:
166+
# requires:
167+
# - build
168+
# - snapshot_publish:
169+
# requires:
170+
# - test
171+
# - build
172+
# - e2e-cli
173+
# filters:
174+
# branches:
175+
# only: master
176+
# - publish:
177+
# requires:
178+
# - test
179+
# - build
180+
# - snapshot_publish
181+
# filters:
182+
# tags:
183+
# only: /^v\d+/
184+
# branches:
185+
# ignore: /.*/

fib.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const fib = (n) => n > 1 ? fib(n - 1) + fib(n - 2) : n;
2+
console.log(fib(parseInt(process.argv[2])));

packages/angular_devkit/benchmark/src/monitored-process.ts

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ export class LocalMonitoredProcess implements MonitoredProcess {
4141

4242
// Spawn the process.
4343
const childProcess = spawn(cmd, args, spawnOptions);
44+
console.log('childProcess.pid')
45+
console.log(childProcess.pid)
4446

4547
// Emit output and stats.
4648
childProcess.stdout.on('data', (data: Buffer) => this.stdout.next(data));
@@ -49,6 +51,8 @@ export class LocalMonitoredProcess implements MonitoredProcess {
4951
concatMap(() => from(pidtree(childProcess.pid, { root: true }))),
5052
concatMap((pids: number[]) => from(pidusage(pids, { maxage: 5 * this.pollingRate }))),
5153
map((statsByProcess: { [key: string]: AggregatedProcessStats }) => {
54+
console.log('statsByProcess')
55+
console.log(statsByProcess)
5256
// Ignore the spawned shell in the total process number.
5357
const pids = Object.keys(statsByProcess)
5458
.filter(pid => pid != childProcess.pid.toString());

0 commit comments

Comments
 (0)