Skip to content

Instantly share code, notes, and snippets.

pub(super) fn timely_dataflow(all_facts: AllFacts) -> LiveBorrowResults {
timely::execute_from_args(vec![].into_iter(), {
let result = result.clone();
move |worker| {
worker.dataflow::<(), _, _>(|scope| {
macro_rules! make_collections {
($($facts:expr,)*) => {
(
$(Collection::<_, _, isize>::new(
$facts
lunch-box. perf record -g -F99 rustc --crate-name clap src/lib.rs --crate-type lib --emit=dep-info,metadata -C codegen-units=4 -C debuginfo=2 --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="vec_map"' -C metadata=d202d71b943170bd -C extra-filename=-d202d71b943170bd --out-dir /home/nmatsakis/versioned/rustc-perf/collector/benchmarks/clap-rs/target/debug/deps -L dependency=/home/nmatsakis/versioned/rustc-perf/collector/benchmarks/clap-rs/target/debug/deps --extern bitflags=/home/nmatsakis/versioned/rustc-perf/collector/benchmarks/clap-rs/target/debug/deps/libbitflags-a639890d93be049d.rmeta --extern strsim=/home/nmatsakis/versioned/rustc-perf/collector/benchmarks/clap-rs/target/debug/deps/libstrsim-61acaf2d398b2611.rmeta --extern unicode_width=/home/nmatsakis/versioned/rustc-perf/collector/benchmarks/clap-rs/target/debug/deps/libunicode_width-92d73134b87da7cc.rmeta --extern atty=/home/nmatsa
# Sample TOML configuration file for building Rust.
#
# To configure rustbuild, copy this file to the directory from which you will be
# running the build, and name it config.toml.
#
# All options are commented out by default in this file, and they're commented
# out with their default values. The build system by default looks for
# `config.toml` in the current directory of a build for build configuration, but
# a custom configuration file can also be specified with `--config` to the build
# system.
#!/bin/bash
if [[ "$1" == "" ]]; then
echo "Usage: $0 <sha1>"
echo ""
echo "e.g. $0 251f86541a2fcc1c26534ce4d680fe23f82a8bb7"
exit 1
fi
SHA="$1"
# Sample TOML configuration file for building Rust.
#
# To configure rustbuild, copy this file to the directory from which you will be
# running the build, and name it config.toml.
#
# All options are commented out by default in this file, and they're commented
# out with their default values. The build system by default looks for
# `config.toml` in the current directory of a build for build configuration, but
# a custom configuration file can also be specified with `--config` to the build
# system.
==21894== Massif, a heap profiler
==21894== Copyright (C) 2003-2017, and GNU GPL'd, by Nicholas Nethercote
==21894== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
==21894== Command: rustc --crate-name syn src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="clone-impls" --cfg feature="default" --cfg feature="derive" --cfg feature="parsing" --cfg feature="printing" --cfg feature="quote" -C metadata=37ed4cbef60aaf81 -C extra-filename=-37ed4cbef60aaf81 --out-dir /home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps -C incremental=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/incremental -L dependency=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps --extern unicode_xid=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libunicode_xid-b1ae62631230ceec.rlib --extern quote=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libquote-3300daee4b74fe1f.rlib --extern proc_macro2=/home/nmatsakis/versioned/rust-9/regr/syn/target
==25455== Massif, a heap profiler
==25455== Copyright (C) 2003-2015, and GNU GPL'd, by Nicholas Nethercote
==25455== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==25455== Command: rustc --crate-name syn src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="clone-impls" --cfg feature="default" --cfg feature="derive" --cfg feature="parsing" --cfg feature="printing" --cfg feature="quote" -C metadata=37ed4cbef60aaf81 -C extra-filename=-37ed4cbef60aaf81 --out-dir /home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps -C incremental=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/incremental -L dependency=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps --extern unicode_xid=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libunicode_xid-b1ae62631230ceec.rlib --extern quote=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libquote-3300daee4b74fe1f.rlib --extern proc_macro2=/home/nmatsakis/versioned/rust-9/regr/syn/target/deb
==23092== Massif, a heap profiler
==23092== Copyright (C) 2003-2015, and GNU GPL'd, by Nicholas Nethercote
==23092== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==23092== Command: rustc --crate-name syn src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="clone-impls" --cfg feature="default" --cfg feature="derive" --cfg feature="parsing" --cfg feature="printing" --cfg feature="quote" -C metadata=37ed4cbef60aaf81 -C extra-filename=-37ed4cbef60aaf81 --out-dir /home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps -C incremental=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/incremental -L dependency=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps --extern unicode_xid=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libunicode_xid-b1ae62631230ceec.rlib --extern quote=/home/nmatsakis/versioned/rust-9/regr/syn/target/debug/deps/libquote-3300daee4b74fe1f.rlib --extern proc_macro2=/home/nmatsakis/versioned/rust-9/regr/syn/target/deb
Matcher : {main}
Matches : 2690
Not Matches: 0
Percentage : 100%
Tree
| matched `{main}` (100% total, 25% self)
: | mir_borrowck<'tcx> (35% total, 35% self)
: : | normalize_projection_ty<'tcx> (0% total, 0% self)
: | typeck_item_bodies<'tcx> (11% total, 0% self)
Matcher : {main}
Matches : 2690
Not Matches: 0
Percentage : 100%
Tree
| matched `{main}` (100% total, 25% self)
: | mir_borrowck<'tcx>> (35% total, 35% self)
: : | normalize_projection_ty<'tcx>> (0% total, 0% self)
: | typeck_item_bodies<'tcx>> (11% total, 0% self)