JuliaDebug / JuliaDebug/Cthulhu.jl

Why is Cthulhu slow on long method bodies?

Open
#209 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
709
Forks
46
Avg merge
1d 13h
Merged PRs (30d)
2

Description

To answer my own question...it's almost entirely due to make_typealias in base/show.jl. https://github.com/JuliaLang/julia/pull/36107. I think there was discussion of caching its results at some point, but I can't find the issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read base/show.jl, focusing on make_typealias, and inspect Julia PR #36107. Reproduce the long-method-body slowdown in Cthulhu.jl and determine whether caching those results is an actionable fix; the issue is done only when a concrete change and validation are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
devtools, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.