Stream: t-compiler/wg-self-profile

Topic: self-profiling support crate

mw (Mar 06 2019 at 13:43, on Zulip):

Before creating a repository, we need a name for the crate defining the binary event data format.

mw (Mar 06 2019 at 13:44, on Zulip):

just self_profile_support maybe?

mw (Mar 06 2019 at 13:44, on Zulip):

or self_profile?

matklad (Mar 06 2019 at 13:45, on Zulip):

profile_data? IIUC, this is a more-or-less generic data format

mw (Mar 06 2019 at 13:46, on Zulip):

yeah, that would work too

mw (Mar 06 2019 at 13:47, on Zulip):

here is a sketch of what the string table implementation could look like, btw:

Wesley Wiser (Mar 06 2019 at 14:31, on Zulip):

Is this an instance where a rustc_ prefix would be appropriate?

mw (Mar 06 2019 at 14:40, on Zulip):

I don't think there'll be anything rustc specific in it and it might be something that get's re-used by salsa in some form.

mw (Mar 06 2019 at 14:41, on Zulip):

although something like profile_data sounds a bit too generic to me

Wesley Wiser (Mar 06 2019 at 14:46, on Zulip):

We could do a slightly less literal name

Wesley Wiser (Mar 06 2019 at 14:47, on Zulip):

libmetiri for example (metiri is the latin word for measure)

mw (Mar 07 2019 at 12:28, on Zulip):

I actually kind of like libmeasureme, although it was meant more as a joke on the other thread :)

simulacrum (Mar 07 2019 at 12:37, on Zulip):

It does seem like a nice name -- though maybe we'd drop the lib since that's not standard outside rust-lang/rust?

mw (Mar 07 2019 at 14:02, on Zulip):


Wesley Wiser (Mar 07 2019 at 14:08, on Zulip):

+1 from me :)

Wesley Wiser (Mar 07 2019 at 14:08, on Zulip):

measureme is available on as well

Last update: Jan 23 2020 at 23:55UTC