Skip to content

Instantly share code, notes, and snippets.

@tsahara
Last active August 29, 2015 13:59
Show Gist options
  • Save tsahara/10440339 to your computer and use it in GitHub Desktop.
Save tsahara/10440339 to your computer and use it in GitHub Desktop.
mrbgem をひとつだけ追加してビルドした mruby が、起動直後に GC.start した後に malloc(3) で確保しているバイト数
# gem bytes increase
mruby-bin-mirb 146038 0
mruby-bin-mruby 146038 0
mruby-range-ext 146045 7
mruby-sprintf 146053 15
mruby-numeric-ext 146256 218
mruby-object-ext 146258 220
mruby-print 146679 641
mruby-toplevel-ext 146816 778
mruby-hash-ext 146958 920
mruby-symbol-ext 147880 1842
mruby-proc-ext 148199 2161
mruby-objectspace 148352 2314
mruby-math 148456 2418
mruby-time 148795 2757
mruby-fiber 149108 3070
mruby-struct 149725 3687
mruby-string-ext 150056 4018
mruby-random 153372 7334
mruby-array-ext 154408 8370
mruby-enumerator 162118 16080 mruby-fiber (+13010)
mruby-enum-ext 164074 18036
mruby-enum-lazy 169514 23476 mruby-enumerator mruby-fiber (+7396)
@tsahara
Copy link
Author

tsahara commented Apr 11, 2014

mruby-enumerator は mruby-fiber に、mruby-enum-lazy は mruby-enumerator と mruby-fiber に依存しているので、それら込みで出ています。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment