Skip to content

Commit 1f44c4b

Browse files
committed
cleanup + ammend changelogs
1 parent 0d4c0e1 commit 1f44c4b

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## Unreleased
1010
* New `serialization` feature flag enables exporting and importing `.puffin` files. This replaces the old `with_serde` feature flag.
11+
* Add `GlobalProfiler::add_sink` for installing callbacks that are called each frame.
1112

1213
* Speed up `GlobalProfiler::new_frame`.
1314

puffin-imgui/CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ All notable changes to `puffin-imgui` will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
78
## Unreleased
9+
* Fix "Toggle with spacebar." tooltip always showing.
10+
* Show frame index.
811

912

1013
## 0.9.0
11-
1214
* Paint flamegraph top-down
1315
* Scrollable flamegraph
1416
* Option to sort threads by name
@@ -19,7 +21,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1921

2022

2123
## 0.8.0
22-
2324
* Select frames from recent history or from among the slowest ever.
2425
* Nicer colors.
2526
* Simpler interaction (drag to pan, scroll to zoom, click to focus, double-click to reset).

puffin/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ impl GlobalProfiler {
679679
/// Export profile data as a `.puffin` file.
680680
#[cfg(feature = "serialization")]
681681
pub fn save_to_writer(&self, write: &mut impl std::io::Write) -> anyhow::Result<()> {
682-
write.write_all(b"puf0")?;
682+
write.write_all(b"PUF0")?;
683683

684684
let slowest_frames = self.slowest_frames.iter().map(|f| &f.0);
685685
let mut frames: Vec<_> = slowest_frames.chain(self.recent_frames.iter()).collect();
@@ -704,8 +704,8 @@ impl GlobalProfiler {
704704
pub fn load_reader(read: &mut impl std::io::Read) -> anyhow::Result<Self> {
705705
let mut magic = [0_u8; 4];
706706
read.read_exact(&mut magic)?;
707-
if &magic != b"puf0" {
708-
anyhow::bail!("Expected .puffin magic header of 'puf0', found {:?}", magic);
707+
if &magic != b"PUF0" {
708+
anyhow::bail!("Expected .puffin magic header of 'PUF0', found {:?}", magic);
709709
}
710710

711711
let mut slf = Self {

puffin_egui/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ All notable changes to the egui crate will be documented in this file.
55

66
## Unreleased
77

8+
* Show frame index.
9+
810

911
## 0.4.0 - 2021-07-05
1012

puffin_http/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
All notable changes to `puffin_http` will be documented in this file.
4+
5+
6+
## Unreleased
7+
* Remove `Server::update` (no longer needed).
8+
* Compress the TCP stream (approximately 75% bandwidth reduction).
9+
10+
11+
## 0.3.0
12+
* Initial release
13+

0 commit comments

Comments
 (0)