Skip to content

Typedoc took 2.5 hours in conversions #2586

@Fancy2209

Description

@Fancy2209

Search terms

Typedoc takes really long to generate for no apparent reason
Typedoc Hangs
Typedoc takes 2.5 hours to convert
Typedoc Typescript 4.9.5 stuck
Typedoc conversion takes way too long

Expected Behavior

I expected the docs to be generated relatively quickly

Actual Behavior

Using the beta, I tried to compile https://github.com/Fancy2209/docs/tree/New-Typedoc
I am only 4/7 packages in, and typedoc is has taken increasingly longer times, with @awayjs/materials (third package) having taken 47 minutes alone

[debug] Finished conversion in 753401ms
[debug] Finished conversion in 1420293ms
[debug] Finished conversion in 2618209ms
[debug] Finished conversion in 934167ms

Edit: total time was 2.5 hours

[debug] Finished conversion in 753401ms
[debug] Finished conversion in 1420293ms
[debug] Finished conversion in 2618209ms
[debug] Finished conversion in 934167ms
[debug] Finished conversion in 1965765ms
[debug] Finished conversion in 902652ms
[debug] Finished conversion in 416315ms
[debug] Full run took 9047398ms

Full Console Log
ajstypedoc.log

Steps to reproduce the bug

    "@awayjs/core": "^0.9.47",
    "@awayjs/graphics": "^0.5.90",
    "@awayjs/materials": "^0.6.16",
    "@awayjs/renderer": "^0.11.65",
    "@awayjs/scene": "^0.13.279",
    "@awayjs/stage": "^0.11.145",
    "@awayjs/view": "^0.6.64",
    "cp-cli": "^2.0.0",
    "rimraf": "^5.0.7",
    "tslib": "2.3.0",
    "typedoc": "^0.26.0-beta.2",
    "typescript": "^4.9.5"
{
  "files": [],
  "references": [
      {
          "path": "node_modules/@awayjs/core"
      },
      {
          "path": "node_modules/@awayjs/graphics"
      },
      {
          "path": "node_modules/@awayjs/materials"
      },
      {
          "path": "node_modules/@awayjs/renderer"
      },
      {
          "path": "node_modules/@awayjs/scene"
      },
      {
          "path": "node_modules/@awayjs/stage"
      },
      {
          "path": "node_modules/@awayjs/view"
      }
  ]
}
{
    "entryPoints": [
        "node_modules/@awayjs/core",
        "node_modules/@awayjs/graphics",
        "node_modules/@awayjs/materials",
        "node_modules/@awayjs/renderer",
        "node_modules/@awayjs/scene",
        "node_modules/@awayjs/stage",
        "node_modules/@awayjs/view"
    ],
    "name": "AwayJS Docs",
    "entryPointStrategy": "packages",
    "includeVersion": false,
    "out": "./bin",
    "readme": "includes/home.md",

    "packageOptions": {
      "includeVersion": true,
      "entryPoints": ["index.ts"],
      "exclude": [
        "node_modules",
        "dist",
        "tests"
      ],
      "readme": "README.md"
    },

    "logLevel": "Verbose"
}

Running through the docs command

  "scripts": {
    "rimraf": "rimraf",
    "docs": "npm run docs:clear && npm run build && npm run docs:misc",
    "docs:clear": "npm run rimraf -- bin",
    "docs:misc": "cp-cli theme/assets/images/favicon.ico bin/favicon.ico",
    "build": "npx tsc --build && npx typedoc --readme includes/home.md"
  },

Environment

  • Typedoc version: 0.26.0-beta.2
  • TypeScript version: 4.9.5
  • Node.js version: v20.9.0
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions