Skip to content

Instantly share code, notes, and snippets.

@thomcc
Last active June 27, 2018 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomcc/ef7090b6b9d3c5c202c7e79635f27d4a to your computer and use it in GitHub Desktop.
Save thomcc/ef7090b6b9d3c5c202c7e79635f27d4a to your computer and use it in GitHub Desktop.
Mentat cli bloat stuff (before fixes)
Finished release [optimized] target(s) in 0.0 secs
File .text Size Name
16.7% 25.2% 1.5MiB [Unknown]
9.7% 14.7% 907.4KiB std
5.9% 8.9% 548.6KiB mentat_db
4.5% 6.8% 420.7KiB regex_syntax
4.3% 6.6% 404.5KiB mentat_cli
3.6% 5.5% 338.7KiB regex
3.1% 4.7% 286.7KiB mentat_query_algebrizer
2.8% 4.2% 258.9KiB edn
2.6% 4.0% 243.6KiB mentat_tolstoy
1.2% 1.8% 109.4KiB linefeed
1.1% 1.7% 103.9KiB mentat_query_projector
1.0% 1.6% 96.4KiB hyper
1.0% 1.5% 90.1KiB mortal
0.8% 1.2% 75.7KiB futures
0.8% 1.1% 70.3KiB libsqlite3_sys
0.6% 0.9% 57.8KiB mentat_query_translator
0.6% 0.9% 54.9KiB combine
0.5% 0.8% 48.5KiB mentat
0.5% 0.8% 47.8KiB tokio_core
0.4% 0.7% 40.9KiB terminfo
66.1% 100.0% 6.0MiB .text section size, the file size is 9.1MiB
Note: numbers above are a result of guesswork. They are not 100% correct and never will be.
File .text Size Crate Name
0.0% 0.0% 0B [7179 Others]
0.7% 1.1% 65.7KiB [Unknown] _sqlite3VdbeExec
0.6% 0.9% 56.7KiB regex <regex::exec::ExecNoSync<'c> as regex::re_trait::RegularExpression>::re...
0.6% 0.9% 55.7KiB regex_syntax <regex_syntax::ast::parse::ParserI<'s, P>>::parse_with_comments
0.6% 0.9% 53.5KiB [Unknown] _yy_reduce
0.5% 0.8% 50.8KiB mortal unicode_normalization::tables::is_combining_mark
0.5% 0.8% 48.2KiB regex_syntax <regex_syntax::ast::parse::ParserI<'s, P>>::parse_with_comments
0.5% 0.8% 47.4KiB edn edn::parse::__parse_value
0.5% 0.7% 44.8KiB mentat_tolstoy <hyper::proto::h1::dispatch::Dispatcher<D, Bs, I, B, T>>::poll_inner
0.5% 0.7% 44.0KiB mentat_query_algebrizer mentat_query_algebrizer::clauses::or::<impl mentat_query_algebrizer::cl...
0.4% 0.6% 36.9KiB mentat_cli mentat_cli::repl::Repl::handle_command
0.4% 0.6% 36.7KiB mentat_cli mentat_cli::run
0.4% 0.6% 35.0KiB mentat_db <mentat_db::tx::Tx<'conn, 'a, W>>::transact_simple_terms
0.4% 0.6% 34.2KiB [Unknown] _sqlite3Pragma
0.4% 0.5% 33.1KiB [Unknown] _sqlite3Select
0.3% 0.5% 28.8KiB mentat_db mentat_db::cache::AttributeCaches::accumulate_evs
0.3% 0.5% 28.8KiB mentat_db <mentat_db::cache::AttributeCaches as mentat_db::cache::Absorb>::absorb
0.3% 0.5% 28.1KiB mentat_tolstoy mentat_tolstoy::syncer::Syncer::flow
0.3% 0.4% 25.9KiB mentat_cli mentat_db::metadata::update_schema_from_entid_quadruples
0.3% 0.4% 25.2KiB mentat_query_algebrizer mentat_query_algebrizer::clauses::fulltext::<impl mentat_query_algebriz...
0.3% 0.4% 24.7KiB linefeed <linefeed::prompter::Prompter<'a, 'b, Term>>::execute_command
0.3% 0.4% 24.6KiB mentat_db <mentat_db::tx::Tx<'conn, 'a, W>>::transact_simple_terms
66.1% 100.0% 6.0MiB .text section size, the file size is 9.1MiB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment