Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec79867

Browse files
fix: update target variables in .syntest.json
1 parent e02237d commit ec79867

File tree

11 files changed

+171
-14
lines changed

11 files changed

+171
-14
lines changed

‎.syntest-projects.json

Lines changed: 152 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,41 @@
11
{
22
"target-root-directory": "./benchmark/commanderjs",
3-
"include": [
3+
"target-include": [
44
"./benchmark/commanderjs/lib/help.js",
55
"./benchmark/commanderjs/lib/option.js",
66
"./benchmark/commanderjs/lib/suggestSimilar.js"
77
],
8+
"analysis-include": [
9+
"./benchmark/commanderjs/**/*.js"
10+
],
11+
"analysis-exclude": [
12+
"./benchmark/commanderjs/**/*.test.js",
13+
"./benchmark/commanderjs/test/*",
14+
"./benchmark/commanderjs/node_modules/*"
15+
],
816

917

1018
"target-root-directory": "./benchmark/express",
11-
"include": [
19+
"target-include": [
1220
"./benchmark/express/lib/application.js",
1321
"./benchmark/express/lib/middleware/query.js",
1422
"./benchmark/express/lib/request.js",
1523
"./benchmark/express/lib/response.js",
1624
"./benchmark/express/lib/utils.js",
1725
"./benchmark/express/lib/view.js"
1826
],
27+
"analysis-include": [
28+
"./benchmark/express/**/*.js"
29+
],
30+
"analysis-exclude": [
31+
"./benchmark/express/**/*.test.js",
32+
"./benchmark/express/test/*",
33+
"./benchmark/express/node_modules/*"
34+
],
1935

2036

2137
"target-root-directory": "./benchmark/javascript-algorithms",
22-
"include": [
38+
"target-include": [
2339
"./benchmark/javascript-algorithms/src/algorithms/graph/articulation-points/articulationPoints.js",
2440
"./benchmark/javascript-algorithms/src/algorithms/graph/bellman-ford/bellmanFord.js",
2541
"./benchmark/javascript-algorithms/src/algorithms/graph/travelling-salesman/bfTravellingSalesman.js",
@@ -40,10 +56,17 @@
4056
"./benchmark/javascript-algorithms/src/algorithms/sorting/counting-sort/CountingSort.js",
4157
"./benchmark/javascript-algorithms/src/data-structures/tree/red-black-tree/RedBlackTree.js"
4258
],
43-
59+
"analysis-include": [
60+
"./benchmark/javascript-algorithms/src/**/*.js"
61+
],
62+
"analysis-exclude": [
63+
"./benchmark/javascript-algorithms/**/*.test.js",
64+
"./benchmark/javascript-algorithms/test/*",
65+
"./benchmark/javascript-algorithms/node_modules/*"
66+
],
4467

4568
"target-root-directory": "./benchmark/lodash",
46-
"include": [
69+
"target-include": [
4770
"./benchmark/lodash/.internal/equalArrays.js",
4871
"./benchmark/lodash/hasPath.js",
4972
"./benchmark/lodash/random.js",
@@ -55,10 +78,18 @@
5578
"./benchmark/lodash/truncate.js",
5679
"./benchmark/lodash/unzip.js"
5780
],
81+
"analysis-include": [
82+
"./benchmark/lodash/**/*.js"
83+
],
84+
"analysis-exclude": [
85+
"./benchmark/lodash/**/*.test.js",
86+
"./benchmark/lodash/test/*",
87+
"./benchmark/lodash/node_modules/*"
88+
],
5889

5990

6091
"target-root-directory": "./benchmark/moment",
61-
"include": [
92+
"target-include": [
6293
"./benchmark/moment/src/lib/moment/add-subtract.js",
6394
"./benchmark/moment/src/lib/moment/calendar.js",
6495
"./benchmark/moment/src/lib/create/check-overflow.js",
@@ -80,9 +111,17 @@
80111
"./benchmark/moment/src/lib/moment/start-end-of.js",
81112
"./benchmark/moment/src/lib/create/valid.js"
82113
],
114+
"analysis-include": [
115+
"./benchmark/moment/src/**/*.js"
116+
],
117+
"analysis-exclude": [
118+
"./benchmark/moment/**/*.test.js",
119+
"./benchmark/moment/test/*",
120+
"./benchmark/moment/node_modules/*"
121+
],
83122

84123
"target-root-directory": "./experimental-benchmark/voca",
85-
"include": [
124+
"target-include": [
86125
"./experimental-benchmark/voca/src/strip/strip_tags.js",
87126
"./experimental-benchmark/voca/src/helper/format/replacement/compute.js",
88127
"./experimental-benchmark/voca/src/manipulate/tr.js",
@@ -137,20 +176,44 @@
137176
"./experimental-benchmark/voca/src/split/code_points.js",
138177
"./experimental-benchmark/voca/src/strip/strip_bom.js"
139178
],
179+
"analysis-include": [
180+
"./experimental-benchmark/voca/src/**/*.js"
181+
],
182+
"analysis-exclude": [
183+
"./experimental-benchmark/voca/**/*.test.js",
184+
"./experimental-benchmark/voca/test/*",
185+
"./experimental-benchmark/voca/node_modules/*"
186+
],
140187

141188
"target-root-directory": "./experimental-benchmark/accounting.js/",
142-
"include": [
189+
"target-include": [
143190
"./experimental-benchmark/accounting.js/accounting.js"
144191
],
192+
"analysis-include": [
193+
"./experimental-benchmark/accounting.js/**/*.js"
194+
],
195+
"analysis-exclude": [
196+
"./experimental-benchmark/accounting.js/**/*.test.js",
197+
"./experimental-benchmark/accounting.js/test/*",
198+
"./experimental-benchmark/accounting.js/node_modules/*"
199+
],
145200

146201
"target-root-directory": "./experimental-benchmark/array/",
147-
"include": [
202+
"target-include": [
148203
"./experimental-benchmark/array/lib/array.js",
149204
"./experimental-benchmark/array/lib/enumerable.js"
150205
],
206+
"analysis-include": [
207+
"./experimental-benchmark/array/lib/**/*.js"
208+
],
209+
"analysis-exclude": [
210+
"./experimental-benchmark/array/**/*.test.js",
211+
"./experimental-benchmark/array/test/*",
212+
"./experimental-benchmark/array/node_modules/*"
213+
],
151214

152215
"target-root-directory": "./experimental-benchmark/arraygeous",
153-
"include": [
216+
"target-include": [
154217
"./experimental-benchmark/arraygeous/src/sort.js",
155218
"./experimental-benchmark/arraygeous/src/cor.js",
156219
"./experimental-benchmark/arraygeous/src/mode.js",
@@ -177,15 +240,92 @@
177240
"./experimental-benchmark/arraygeous/src/meanroll.js",
178241
"./experimental-benchmark/arraygeous/src/some.js"
179242
],
243+
"analysis-include": [
244+
"./experimental-benchmark/arraygeous/src/**/*.js"
245+
],
246+
"analysis-exclude": [
247+
"./experimental-benchmark/arraygeous/**/*.test.js",
248+
"./experimental-benchmark/arraygeous/test/*",
249+
"./experimental-benchmark/arraygeous/node_modules/*"
250+
],
180251

181252
// Not suitable for benchmark (ESM module)
182253
"target-root-directory": "./experimental-benchmark/camelcase",
183-
"include": [
254+
"target-include": [
184255
"./experimental-benchmark/camelcase/index.js"
185256
],
257+
"analysis-include": [
258+
"./experimental-benchmark/camelcase/**/*.js"
259+
],
260+
"analysis-exclude": [
261+
"./experimental-benchmark/camelcase/**/*.test.js",
262+
"./experimental-benchmark/camelcase/test/*",
263+
"./experimental-benchmark/camelcase/node_modules/*"
264+
],
186265

187266
"target-root-directory": "./experimental-benchmark/Case",
188-
"include": [
267+
"target-include": [
189268
"./experimental-benchmark/Case/src/Case.js"
190269
],
270+
"analysis-include": [
271+
"./experimental-benchmark/Case/src/**/*.js"
272+
],
273+
"analysis-exclude": [
274+
"./experimental-benchmark/Case/**/*.test.js",
275+
"./experimental-benchmark/Case/test/*",
276+
"./experimental-benchmark/Case/node_modules/*"
277+
],
278+
279+
// Uses some kind of half type script import syntax
280+
"target-root-directory": "./benchmark/react/packages",
281+
"target-include": [
282+
"./benchmark/react/packages/react/src/ReactElementValidator.js",
283+
"./benchmark/react/packages/react/src/ReactElement.js",
284+
"./benchmark/react/packages/react/src/ReactChildren.js",
285+
"./benchmark/react/packages/react/src/ReactAct.js"
286+
],
287+
"analysis-include": [
288+
"./experimental-benchmark/react/src/**/*.js"
289+
],
290+
"analysis-exclude": [
291+
"./experimental-benchmark/react/**/*.test.js",
292+
"./experimental-benchmark/react/test/*",
293+
"./experimental-benchmark/react/node_modules/*"
294+
],
295+
296+
// Frontend code
297+
"target-root-directory": "./benchmark/bootstrap",
298+
"target-include": [
299+
"./benchmark/bootstrap/js/src/dropdown.js",
300+
"./benchmark/bootstrap/js/src/tooltip.js",
301+
"./benchmark/bootstrap/js/src/carousel.js",
302+
"./benchmark/bootstrap/js/src/modal.js",
303+
"./benchmark/bootstrap/js/src/tab.js",
304+
"./benchmark/bootstrap/js/src/collapse.js",
305+
"./benchmark/bootstrap/js/src/scrollspy.js",
306+
"./benchmark/bootstrap/js/src/offcanvas.js"
307+
],
308+
"analysis-include": [
309+
"./experimental-benchmark/react/src/**/*.js"
310+
],
311+
"analysis-exclude": [
312+
"./experimental-benchmark/react/**/*.test.js",
313+
"./experimental-benchmark/react/test/*",
314+
"./experimental-benchmark/react/node_modules/*"
315+
]
316+
317+
// cannot install dependencies
318+
"target-root-directory": "./benchmark/plato/lib",
319+
"target-include": [
320+
"./benchmark/plato/lib/plato.js",
321+
"./benchmark/plato/lib/cli.js",
322+
"./benchmark/plato/lib/util.js"
323+
],
324+
325+
// no coverage??
326+
"target-root-directory": "./benchmark/nyc",
327+
"target-include": [
328+
"./benchmark/nyc/lib/commands/instrument.js",
329+
"./benchmark/nyc/lib/commands/helpers.js"
330+
],
191331
}

‎.syntest.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
{
22
"target-root-directory": "./benchmark/commanderjs",
3-
"include": [
3+
"target-include": [
44
"./benchmark/commanderjs/lib/help.js"
55
],
6+
"analysis-include": [
7+
"./benchmark/commanderjs/lib/**/*.js"
8+
],
9+
"analysis-exclude": [
10+
"./benchmark/commanderjs/**/*.test.js",
11+
"./benchmark/commanderjs/test/*",
12+
"./benchmark/commanderjs/node_modules/*"
13+
],
614
"crossover": "javascript-tree",
715
"sampler": "javascript-random",
816
"termination-triggers": [
@@ -23,5 +31,5 @@
2331
],
2432
"metric-middleware-pipeline": ["metric-middleware-statistics", "metric-middleware-file-writer"],
2533
"output-metrics": ["*"],
26-
"total-time": 120
34+
"total-time": 10
2735
}

‎benchmark/bootstrap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 413894d4691b5ebb1377fcf5ab8fd3bba49766a8

‎benchmark/decimal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 7f01abd83d5632005d5f97ddbea41e069ee69a74

‎benchmark/magic-string

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 427705b8c7a990c9e1e1965b387d8462f55381c0

‎benchmark/numbers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit ca3076a7bfc670a5c45bb18ade9c3a868363bcc3

‎benchmark/nyc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit ab7c53b2f340b458789a746dff2abd3e2e4790c3

‎benchmark/plato

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit a944bb9313785bcc47fb27b257bb2518c86174bd

‎benchmark/react

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 41f0e9dae3b81396dc29a4735b355ea318cc5772

‎benchmark/underscore.string

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 6a65c389135c432f77df27f606f8457849f662f2

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /