Skip to content

Commit f9f84d1

Browse files
committed
Auto merge of #217 - michaelwoerister:release-10.1.2, r=michaelwoerister
Prepare release 10.1.2
2 parents 2371077 + ef60769 commit f9f84d1

File tree

13 files changed

+73
-20
lines changed

13 files changed

+73
-20
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Rust
22

33
on:
44
push:
5-
branches: [
5+
branches: [
66
master,
77
auto, # used for bors
88
try # used for bors
@@ -29,10 +29,10 @@ jobs:
2929
run: cargo test --verbose --all
3030
- name: Docs
3131
run: cargo doc --verbose --all
32-
32+
3333
build_beta:
3434
runs-on: ubuntu-latest
35-
35+
3636
steps:
3737
- uses: actions/checkout@v2
3838
- uses: actions-rs/toolchain@v1
@@ -54,7 +54,7 @@ jobs:
5454

5555
build_nightly:
5656
runs-on: ubuntu-latest
57-
57+
5858
steps:
5959
- uses: actions/checkout@v2
6060
- uses: actions-rs/toolchain@v1
@@ -64,19 +64,19 @@ jobs:
6464
- uses: actions-rs/cargo@v1
6565
with:
6666
command: build
67-
args: --verbose --all
67+
args: --verbose --all -Zcheck-cfg
6868
- uses: actions-rs/cargo@v1
6969
with:
7070
command: test
71-
args: --verbose --all
71+
args: --verbose --all -Zcheck-cfg
7272
- uses: actions-rs/cargo@v1
7373
with:
7474
command: doc
7575
args: --verbose --all
76-
76+
7777
check_big_endian:
7878
runs-on: ubuntu-latest
79-
79+
8080
steps:
8181
- uses: actions/checkout@v2
8282
- uses: actions-rs/toolchain@v1

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
# Changelog
22

3+
## [10.1.2] - 2023-12-14
4+
5+
### Changed
6+
7+
- Change Cli parser from StructOpt to Clap ([GH-199])
8+
- `crox`: Remove malformed serde attribute ([GH-205])
9+
- `decodeme`: Allow whitespace control chars in EventId texts ([GH-208])
10+
- `measureme`: bump parking_lot to 0.12 to sync with rustc ([GH-209])
11+
- Allow copying example shell scripts ([GH-211])
12+
313
## [10.1.1] - 2023-02-08
414

515
### Changed
16+
617
- `measureme`: Update `perf-event-open-sys` to 3.0 ([GH-198])
718
- Move profile data analysis into analyzeme from summarizeme ([GH-200])
819
- `summarize`: Update `prettytable` dependency to avoid segfaults on large profiles ([GH-202])
920

1021
## [10.1.0] - 2022-06-24
1122

1223
### Changed
24+
1325
- Change install instructions to use stable branch ([GH-189])
1426
- `analyzeme`: Remove some unused dependencies ([GH-192])
1527
- `decodeme`: Generate nicer panic messages for incomplete data files ([GH-193])
@@ -19,47 +31,63 @@
1931
## [10.0.0] - 2021-10-06
2032

2133
### Changed
34+
2235
- `analyzeme`: Version-specific parts split out into `decodeme` crate. ([GH-181])
2336
- `analyzeme`: The crate now supports loading both v7 and v8 of the file format. ([GH-181])
2437

2538
## [9.2.0] - 2021-09-13
39+
2640
### Changed
41+
2742
- `analyzeme`: Makes a couple of methods in ProfilingData public. ([GH-180])
2843

2944
## [9.1.2] - 2021-05-21
45+
3046
### Added
47+
3148
- `measureme`: Allow recording interval events without using the drop guard ([GH-159])
3249

3350
## [9.1.1] - 2021-04-23
51+
3452
### Changed
53+
3554
- `crox`: Update the `--dir` flag to look for the correct file extension for traces ([GH-155])
3655
- `measureme`: Update the `memmap` dependency to `memmap2` which is actively maintained ([GH-156])
3756

3857
## [9.1.0] - 2021-02-19
58+
3959
### Added
60+
4061
- `measureme`: Add support for using hardware performance counters instead of wall-clock times. ([GH-143])
4162
- `summarize`: Add `aggregate` sub-command for analyzing sets of profiles ([GH-129])
4263

4364
### Changed
65+
4466
- `analyzeme`: Provide functions to decode paged buffer data from memory ([GH-142])
4567
- `analyzeme`: Fix blocked events not being counted in total invocation count ([GH-148])
4668
- `analyzeme`: Return error instead of panicking if the input file is too small ([GH-151])
4769
- Cleanup intra-doc links ([GH-146])
4870

4971
## [9.0.0] - 2020-10-07
72+
5073
### Added
74+
5175
- `measureme`: Added a function to create `EventId`s with multiple arguments ([GH-138])
5276

5377
### Changed
78+
5479
- We now use the standard semantic versioning system. As this is the 9th breaking change, we're adopting `9.0` as the version number
5580
- `measureme`: Allow recording up to 4gb of string data instead of the old limit of 1gb ([GH-137])
5681

5782
## [0.8.0] - 2020-10-01
83+
5884
### Added
85+
5986
- `analyzeme`: Profiling data can now be constructed directly from memory without having to touch the filesystem ([GH-123])
6087
- `summarize`: A new "Time" column shows the total amount of time spent executing the query including sub-queries ([GH-109])
6188

6289
### Changed
90+
6391
- `crox`: Event argument data is now included in the output file ([GH-108])
6492
- `measureme`: Trace data is now recorded into a single file instead of three files ([GH-132])
6593
- `mmview`: Do not panic when there are no events ([GH-119])
@@ -68,35 +96,47 @@
6896
- `summarize`: Only show the "Cache hits", "Blocked Time" and "Incremental load time" columns if that data is present in the trace ([GH-116])
6997

7098
## [0.7.1] - 2020-01-02
99+
71100
### Changed
101+
72102
- `measureme`: Fix compilation error on big endian systems ([GH-103])
73103

74104
## [0.7.0] - 2019-12-18
105+
75106
### Changed
107+
76108
- `measureme`: Events can now have "arguments" which record additional data about the event ([GH-101])
77109

78110
## [0.6.0] - 2019-12-11
111+
79112
### Added
113+
80114
- `measureme`: Added `SerializationSink::write_bytes_atomic` that optimizes handling of existing buffers ([GH-97])
81115

82116
### Changed
117+
83118
- `summarize`: Fixed a crash when incr_cache_load events would have child events ([GH-93])
84119
- `measureme`: Replaced notion of "reserved" StringIds with simpler "virtual" StringIds ([GH-98])
85120

86121
## [0.5.0] - 2019-12-02
122+
87123
### Added
124+
88125
- `flamegraph`: new tool that uses the `inferno` crate to generate flamegraph svg files ([GH-73])
89126
- `crox`: Added the `--dir` parameter to merge all events files in dir in to one trace file ([GH-84])
90127
- `crox`: Added possibility to add multiple `file_prefix` parameters to merge all them to one trace file ([GH-84])
91128
- `summarize`: Added self_time_change as percentage change of self_time from base to the `diff` sub command ([GH-87])
92129

93130
### Changed
131+
94132
- `measureme`: Stringtable data is recorded in a more compact format ([GH-90])
95133
- `measureme`: Events are recorded in a more compact format ([GH-76])
96134
- `stack_collapse`: Removed the `--interval` commandline option ([GH-76])
97135

98136
## [0.4.0] - 2019-10-24
137+
99138
### Added
139+
100140
- `measureme`: Added RAII-based API for recording events ([GH-70])
101141
- `measureme`: Added support for compiling the library under wasm/wasi ([GH-43])
102142
- `mmview`: Added the `-t` flag to limit output to results on the specified thread id ([GH-49])
@@ -105,11 +145,14 @@
105145
- `crox`: Added the `--minimum-duration` flag to filter out events under the specified number of microseconds ([GH-60])
106146

107147
### Changed
148+
108149
- `summarize`: Moved summarization under the `summarize` sub command ([GH-50])
109150
- `crox`: Output files are now up to 50% smaller ([GH-59])
110151

111152
## [0.3.0] - 2019-05-14
153+
112154
### Added
155+
113156
- `summarize`: New CLI argument `percent-above` for `summarize` crate ([GH-32])
114157
- `summarize`: Added documentation ([GH-35])
115158
- `measureme`: Added a version tag to the binary event file format ([GH-41])
@@ -118,6 +161,7 @@
118161

119162
## [0.2.0] - 2019-04-10
120163

164+
[10.1.2]: https://github.com/rust-lang/measureme/releases/tag/10.1.2
121165
[10.1.1]: https://github.com/rust-lang/measureme/releases/tag/10.1.1
122166
[10.1.0]: https://github.com/rust-lang/measureme/releases/tag/10.1.0
123167
[10.0.0]: https://github.com/rust-lang/measureme/releases/tag/10.0.0
@@ -181,5 +225,10 @@
181225
[GH-194]: https://github.com/rust-lang/measureme/pull/194
182226
[GH-195]: https://github.com/rust-lang/measureme/pull/195
183227
[GH-198]: https://github.com/rust-lang/measureme/pull/198
228+
[GH-199]: https://github.com/rust-lang/measureme/pull/199
184229
[GH-200]: https://github.com/rust-lang/measureme/pull/200
185230
[GH-202]: https://github.com/rust-lang/measureme/pull/202
231+
[GH-205]: https://github.com/rust-lang/measureme/pull/205
232+
[GH-208]: https://github.com/rust-lang/measureme/pull/208
233+
[GH-209]: https://github.com/rust-lang/measureme/pull/209
234+
[GH-211]: https://github.com/rust-lang/measureme/pull/211

analyzeme/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "analyzeme"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>", "Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

crox/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "crox"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>"]
55
edition = "2018"
66

77
[dependencies]
88
measureme = { path = "../measureme" }
99
analyzeme = { path = "../analyzeme" }
1010
rustc-hash = "1.0.1"
11-
serde = { version = "1.0", features = [ "derive" ] }
11+
serde = { version = "1.0", features = ["derive"] }
1212
serde_json = "1.0"
1313
clap = { version = "3.2", features = ["derive"] }

decodeme/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "decodeme"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
edition = "2018"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -9,5 +9,5 @@ edition = "2018"
99
measureme = { path = "../measureme" }
1010
memchr = "2"
1111
rustc-hash = "1.0.1"
12-
serde = { version = "1.0", features = [ "derive" ] }
12+
serde = { version = "1.0", features = ["derive"] }
1313
serde_json = "1.0"

flamegraph/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flamegraph"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>", "Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

measureme/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "measureme"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>", "Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
description = "Support crate for rustc's self-profiling feature"

measureme/src/counters.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
//! Also keep in mind that instruction counts do not properly reflect all kinds
109109
//! of workloads, e.g. SIMD throughput and cache locality are unaccounted for.
110110
111+
// FIXME: Use a cargo feature for accurate_seqlock_rdpmc and unserialized_rdpmc
112+
// so we don't need this:
113+
#![allow(unexpected_cfgs)]
114+
111115
use std::error::Error;
112116
use std::time::Instant;
113117

mmedit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mmedit"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
edition = "2018"
55

66
[dependencies]

mmview/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mmview"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>", "Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

stack_collapse/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stack_collapse"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>", "Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

summarize/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "summarize"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Wesley Wiser <wwiser@gmail.com>", "Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

version_checker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "version_checker"
3-
version = "10.1.1"
3+
version = "10.1.2"
44
authors = ["Michael Woerister <michaelwoerister@posteo>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)