Skip to content

Refactor measurement/profiling chapter #97

Closed
@hsyl20

Description

@hsyl20

I'd like to suggest refactoring the Measurement / Profiling chapter.

I've written some introduction text: #95

Then I think we should present it from the bottom-up:

  • binary profiling: perf, cachegrind, etc. Tools that are language agnostic. Limitations due to Haskell execution model
  • multi-thread level: OS vs Haskell threads. ThreadScope, etc.
  • Cmm level: if we have Cmm specific probes?
  • Stg level + rts stats: G-machine level probes: ticky, late cost centers, etc. RTS stats: GC, applications, etc. The bulk of what makes Haskell different to profile than most other languages
  • Core level: non-late cost centers, etc.
  • Haskell level: user probes (event log), haskell level checks (weigh, nothunks...)

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions