Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mentat cli bloat stuff (after fixes from mailing list post)
File .text Size Name
15.3% 31.9% 796.6KiB [Unknown]
8.8% 18.5% 460.6KiB std
4.9% 10.2% 254.0KiB mentat_db
3.7% 7.8% 194.8KiB mentat_cli
2.6% 5.4% 134.4KiB regex
2.1% 4.4% 110.7KiB edn
1.7% 3.6% 90.4KiB regex_syntax
1.7% 3.6% 89.5KiB mentat_query_algebrizer
0.8% 1.8% 43.7KiB mentat
0.8% 1.7% 42.8KiB mentat_query_projector
0.7% 1.5% 37.6KiB libsqlite3_sys
0.6% 1.3% 32.3KiB terminfo
0.5% 1.0% 26.1KiB mentat_query_translator
0.4% 0.9% 22.3KiB linefeed
0.4% 0.8% 19.6KiB mortal
0.4% 0.8% 18.8KiB combine
0.3% 0.6% 16.2KiB rusqlite
0.3% 0.6% 14.3KiB env_logger
0.3% 0.6% 13.9KiB mentat_sql
0.2% 0.4% 9.7KiB mentat_query_sql
47.8% 100.0% 2.4MiB .text section size, the file size is 5.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 [8516 Others]
0.8% 1.6% 39.3KiB regex <regex::exec::ExecNoSync<'c> as regex::re_trait::RegularExpression>::re...
0.7% 1.5% 38.0KiB [Unknown] _sqlite3VdbeExec
0.5% 1.1% 26.6KiB regex_syntax <regex_syntax::ast::parse::ParserI<'s, P>>::parse_with_comments
0.5% 1.1% 26.2KiB edn edn::parse::__parse_value
0.4% 0.9% 23.1KiB [Unknown] _yy_reduce
0.4% 0.8% 20.5KiB mentat_cli mentat_cli::run
0.4% 0.8% 19.4KiB mentat_cli mentat::query::algebrize_query_str
0.4% 0.7% 18.5KiB mentat_cli mentat_cli::repl::Repl::handle_command
0.3% 0.7% 16.4KiB mentat_cli mentat_cli::input::InputReader::read_input
0.3% 0.7% 16.3KiB mentat_query_algebrizer mentat_query_algebrizer::clauses::ConjoiningClauses::apply_clause
0.3% 0.7% 16.3KiB mentat_db <mentat_db::tx::Tx<'conn, 'a, W>>::transact_entities
0.3% 0.6% 16.2KiB mentat_query_algebrizer mentat_query_algebrizer::clauses::where_fn::<impl mentat_query_algebriz...
0.3% 0.6% 15.8KiB mentat_db <mentat_db::cache::AttributeCaches as mentat_db::cache::Absorb>::absorb
0.3% 0.6% 15.6KiB mentat_cli <linefeed::interface::Interface<linefeed::terminal::DefaultTerminal>>::new
0.3% 0.6% 15.4KiB mentat mentat::conn::InProgress::commit
0.3% 0.6% 13.9KiB [Unknown] _sqlite3WhereBegin
0.3% 0.5% 13.2KiB regex <regex::re_trait::Matches<'t, R> as core::iter::iterator::Iterator>::next
0.2% 0.5% 12.5KiB mentat_cli <linefeed::prompter::Prompter<'a, 'b, Term>>::execute_command
0.2% 0.5% 12.4KiB [Unknown] _sqlite3Pragma
0.2% 0.5% 12.4KiB mentat_cli mentat_cli::repl::Repl::execute_transact
0.2% 0.5% 12.2KiB terminfo terminfo::database::Database::from_buffer
47.8% 100.0% 2.4MiB .text section size, the file size is 5.1MiB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment