Skip to content

No procedures or tools for profiling #150

@rptb1

Description

@rptb1

Ravenbrook staff use profiling to optimise the MPS, but we don't have documented procedures or tools to help. We are a bit ad-hoc. It would help everyone to document and maintain profiling methods, especially since some of them are a pain to set up (see below).

Maybe using perf would be an alternative to gprof?

Originally posted by @waywardmonkeys in #138 (comment)

Here's an article on various profiler options https://euccas.github.io/blog/20170827/cpu-profiling-tools-on-linux.html
valgrind crashes (dumps core) on gcbench though.

Posted by @rptb1 in keybase://chat/ravenbrook#mps/2226

paste
Dat critical path! (from sysprof-cli -- lii6gc/hot/gcbench -x 6415986 amc)

Posted by @rptb1 in keybase://chat/ravenbrook#mps/2231

paste (1)
I'm just starting to get some interesting stuff come out of Intel vtune. It was a bit of a pain to set up

Posted by @thejayps in keybase://chat/ravenbrook#mps/2333

Metadata

Metadata

Assignees

No one assigned

    Labels

    optionalWill cause failures / of benefit. Worth assigning resources.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions