Aleks-Daniel Jakimenko-Aleksejev edited this page Aug 27, 2017 · 8 revisions

This is an IRC bot for running bloaty on files of MoarVM. It can be addressed by its full name ('bloatable6') or its short name ('bloat' or 'bloaty'). It will run bloaty and pass one or more files from different revisions of MoarVM.

You can find some extra examples in tests: bloatable.t

Note that bloatable, unlike other bots, only accepts MoarVM SHAs (not rakudo ones).

Usage examples

One revision

<AlexDaniel> bloatable6: HEAD
<bloatable6> AlexDaniel,

See some explanation in bloaty README.

Two revisions

For two revisions it will give you the size diff:

<AlexDaniel> bloatable6: 2017.01,HEAD
<bloatable6> AlexDaniel,

More than two revisions

If you pass more than two revisions (or an option that expands into more than two, like releases), then it will give you a size diff of all adjacent versions (in the order that you have specified).

<AlexDaniel> bloatable6: releases
<bloatable6> AlexDaniel,

Other sources

You can use d=… or -d … to specify sources other than compileunits.

<AlexDaniel> bloat: d=inlines HEAD
<bloatable6> AlexDaniel,

<AlexDaniel> bloat: -d inputfiles,sections 2017.01,HEAD
<bloatable6> AlexDaniel,

<AlexDaniel> bloat: d=uhmm… 2017.01,HEAD
<bloatable6> AlexDaniel, No such data source: uhmm… (Did you mean one of these: armembers compileunits inlines inputfiles sections segments symbols ?)

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.