mwrap user+dev discussion/patches/pulls/bugs/help
 help / color / Atom feed
From: Sam Saffron <>
Subject: Add enable/disable methods
Date: Wed, 9 Oct 2019 09:11:17 +1100
Message-ID: <> (raw)


In our use case we would like to profile one of N unicorn workers
after a certain timeframe.

Would you be open to adding

`Mwrap.enable` : start profiling memory allocations
`Mwrap.disable` : disable all profiling of memory allocations, making
them as close as possible to a no-op.

and an env var for starting disabled


An additional convenience method here for the entire workflow would be:

`mwrap so_path` that returns the path to the module that needs
preloading, this makes it slightly easier to configure production


             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 22:11 Sam Saffron [this message]
2019-10-10  8:41 ` Eric Wong
2019-10-10  8:49   ` Sam Saffron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

mwrap user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror mwrap-public/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 mwrap-public mwrap-public/ \
	public-inbox-index mwrap-public

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone