Skip to content

Conversation

@SimonSchick
Copy link
Contributor

@SimonSchick SimonSchick commented May 4, 2021

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

Depends on #52646 for .1 through .3

@typescript-bot typescript-bot added Critical package Author is Owner The author of this PR is a listed owner of the package. Check Config Changes a module config files labels May 4, 2021
@typescript-bot
Copy link
Contributor

typescript-bot commented May 4, 2021

@SimonSchick Thank you for submitting this PR!

This is a live comment which I will keep updated.

2 packages in this PR

Code Reviews

Because this is a widely-used package, a DT maintainer will need to review it before it can be merged.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • 🕐 A DT maintainer needs to approve changes which affect more than one package

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 52732,
  "author": "SimonSchick",
  "headCommitOid": "170d99b471d9de15266bd228a9f2821e2f443928",
  "lastPushDate": "2021-05-20T01:13:08.000Z",
  "lastActivityDate": "2021-05-20T01:13:08.000Z",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/child_process.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/crypto.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/events.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/fs.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/fs/promises.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/globals.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/http.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/net.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/process.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/stream.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/test/child_process.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/crypto.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/events.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/fs.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/http.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/net.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/process.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/stream.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/util_types.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/worker_threads.ts",
          "kind": "test"
        },
        {
          "path": "types/node/tls.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/util/types.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/worker_threads.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "Microsoft",
        "DefinitelyTyped",
        "jkomyno",
        "alvis",
        "r3nya",
        "btoueg",
        "smac89",
        "touffy",
        "DeividasBakanas",
        "eyqs",
        "Hannes-Magnusson-CK",
        "KSXGitHub",
        "hoo29",
        "kjin",
        "ajafff",
        "islishude",
        "mwiktorczyk",
        "mohsen1",
        "n-e",
        "galkin",
        "parambirs",
        "eps1lon",
        "SimonSchick",
        "ThomasdenH",
        "WilcoBakker",
        "wwwy3y3",
        "samuela",
        "kuehlein",
        "bhongy",
        "chyzwar",
        "trivikr",
        "nguymin4",
        "yoursunny",
        "qwelias",
        "ExE-Boss",
        "Ryan-Willpower",
        "peterblazejewicz",
        "addaleax",
        "JasonHK",
        "victorperin",
        "ZYSzys"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    },
    {
      "name": "readable-stream",
      "kind": "edit",
      "files": [
        {
          "path": "types/readable-stream/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/readable-stream/readable-stream-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/readable-stream/tslint.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-linter-tslintjson) and not moving towards it (check: `rules`)"
        }
      ],
      "owners": [
        "TeamworkGuy2",
        "markdreyer"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    }
  ],
  "reviews": [],
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

typescript-bot commented May 4, 2021

@typescript-bot
Copy link
Contributor

👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings.

Let’s review the numbers, shall we?

These typings are for a version of node that doesn’t yet exist on master, so I’ve compared them with v15.0.

Comparison details 📊
15.0@master 15.6 in #52732 diff
Batch compilation
Memory usage (MiB) 131.6 136.1 +3.5%
Type count 26341 26704 +1%
Assignability cache size 9307 9406 +1%
Language service
Samples taken 46 46 0%
Identifiers in tests 46 46 0%
getCompletionsAtPosition
    Mean duration (ms) 859.0 876.9 +2.1%
    Mean CV 8.4% 9.2%
    Worst duration (ms) 1051.9 1113.9 +5.9%
    Worst identifier a a
getQuickInfoAtPosition
    Mean duration (ms) 833.5 879.9 +5.6%
    Mean CV 9.0% 10.3%
    Worst duration (ms) 989.7 1118.2 +13.0%
    Worst identifier a b
System information
Node version v14.16.1 v14.16.1
CPU count 2 2
CPU speed 2.294 GHz 2.397 GHz
CPU model Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
CPU Architecture x64 x64
Memory 6.8 GiB 6.8 GiB
Platform linux linux
Release 4.15.0-1113-azure 4.15.0-1113-azure

First off, note that the system varied slightly between these two runs, so you’ll have to take these measurements with a grain of salt.

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

@typescript-bot typescript-bot added Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. The CI failed When GH Actions fails labels May 4, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@SimonSchick SimonSchick mentioned this pull request May 4, 2021
8 tasks
@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label May 4, 2021
@typescript-bot
Copy link
Contributor

Updated numbers for you here from 06a0788.

These typings are for a version of node that doesn’t yet exist on master, so I’ve compared them with v15.0.

Comparison details 📊
15.0@master 15.6 in #52732 diff
Batch compilation
Memory usage (MiB) 131.6 135.2 +2.8%
Type count 26341 26816 +2%
Assignability cache size 9307 9465 +2%
Language service
Samples taken 46 46 0%
Identifiers in tests 46 46 0%
getCompletionsAtPosition
    Mean duration (ms) 859.0 1194.2 +39.0% 🔸
    Mean CV 8.4% 12.9%
    Worst duration (ms) 1051.9 1369.0 +30.2% 🔸
    Worst identifier a a
getQuickInfoAtPosition
    Mean duration (ms) 833.5 1178.8 +41.4% 🔸
    Mean CV 9.0% 12.8%
    Worst duration (ms) 989.7 1402.3 +41.7% 🔸
    Worst identifier a assert
System information
Node version v14.16.1 v14.16.1
CPU count 2 2
CPU speed 2.294 GHz 2.394 GHz
CPU model Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
CPU Architecture x64 x64
Memory 6.8 GiB 6.8 GiB
Platform linux linux
Release 4.15.0-1113-azure 4.15.0-1113-azure

First off, note that the system varied slightly between these two runs, so you’ll have to take these measurements with a grain of salt.

It looks like there are several metrics that changed quite a bit. You might want to take a look and make sure your changes won’t cause slow-downs for users consuming these types.

@typescript-bot typescript-bot added Perf: Worse typescript-bot determined that this PR has a negative impact on compilation performance. The CI failed When GH Actions fails and removed Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. labels May 4, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added Edits multiple packages The CI failed When GH Actions fails and removed Author is Owner The author of this PR is a listed owner of the package. The CI failed When GH Actions fails labels May 4, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels May 5, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@SimonSchick SimonSchick mentioned this pull request May 6, 2021
8 tasks
@typescript-bot typescript-bot added Author is Owner The author of this PR is a listed owner of the package. The CI failed When GH Actions fails and removed Edits multiple packages The CI failed When GH Actions fails labels May 13, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added Edits multiple packages The CI failed When GH Actions fails and removed Author is Owner The author of this PR is a listed owner of the package. The CI failed When GH Actions fails labels May 15, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels May 17, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@SimonSchick SimonSchick mentioned this pull request May 17, 2021
17 tasks
captureRejectionSymbol2 = events.captureRejectionSymbol;
}

{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was removed for now as these APIs are not actually in the node typings yet.

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels May 18, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label May 18, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added Check Config Changes a module config files The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels May 18, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label May 20, 2021
@weswigham weswigham merged commit 6c4cb0d into DefinitelyTyped:master May 21, 2021
@typescript-bot
Copy link
Contributor

I just published @types/node@15.6.0 to npm.

@typescript-bot
Copy link
Contributor

I just published @types/readable-stream@2.3.10 to npm.

@SimonSchick SimonSchick deleted the node/v15.6 branch May 21, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Check Config Changes a module config files Critical package Edits multiple packages Perf: Worse typescript-bot determined that this PR has a negative impact on compilation performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants