# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.13.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/android@0.12.1...@perf-profiler/android@0.13.0) (2024-07-17)

### Features

- customize binary path ([#300](https://github.com/bamlab/android-performance-profiler/issues/300)) ([ee9e168](https://github.com/bamlab/android-performance-profiler/commit/ee9e168b81a96ec60be6ced43633b4b59ab55afe))

## [0.12.1](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/android@0.12.0...@perf-profiler/android@0.12.1) (2024-06-28)

### Bug Fixes

- don't crash profiler if we can not parse `FrameTime` ([#295](https://github.com/bamlab/android-performance-profiler/issues/295)) ([8aee5ec](https://github.com/bamlab/android-performance-profiler/commit/8aee5ec25e13511bb9c20f1d43cd3ff94b02e407))
- **profiler:** fix ram usage when multiple pids ([#290](https://github.com/bamlab/android-performance-profiler/issues/290)) ([85656a7](https://github.com/bamlab/android-performance-profiler/commit/85656a766c40bb9fa94afe651e4e0ac1f89ce4f4))

# [0.12.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/android@0.11.0...@perf-profiler/android@0.12.0) (2024-06-04)

### Bug Fixes

- **profiler:** improve performance ([#280](https://github.com/bamlab/android-performance-profiler/issues/280)) ([512a994](https://github.com/bamlab/android-performance-profiler/commit/512a994dab8d6a5a0695670569c0d775eae85388))
- **profiler:** support rare apps with multiple pids ([#274](https://github.com/bamlab/android-performance-profiler/issues/274)) ([60ea349](https://github.com/bamlab/android-performance-profiler/commit/60ea3492d869ab4cea23a0d3eadb4e2f759661d3))

### Features

- **report:** make RN and Flutter threads stand out nicely ([#205](https://github.com/bamlab/android-performance-profiler/issues/205)) ([0e99a27](https://github.com/bamlab/android-performance-profiler/commit/0e99a2780c00fad342b2a13189a2adee51e5dd9c))

# 0.11.0 (2024-03-01)

### Bug Fixes

- fix graph curviness bugs by upgrading apex ([#204](https://github.com/bamlab/android-performance-profiler/issues/204)) ([0223202](https://github.com/bamlab/android-performance-profiler/commit/0223202301f58fc656e5c6e826bb61d80d899568))
- **getCpuStatsByProcess:** fix regex for CPU stats ([#181](https://github.com/bamlab/android-performance-profiler/issues/181)) ([b4d5de6](https://github.com/bamlab/android-performance-profiler/commit/b4d5de6370392ab721d69269d1cb6d1a1d0b99c7))
- **measure:** support empty thread name ([52dce42](https://github.com/bamlab/android-performance-profiler/commit/52dce426108b0f79996891024a2f302570624596))

### Features

- **ios:** add time Profiler ([#188](https://github.com/bamlab/android-performance-profiler/issues/188)) ([b04984d](https://github.com/bamlab/android-performance-profiler/commit/b04984d23fa789288e05c979e980518931414d4c))

## [0.10.7](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.6...@perf-profiler/profiler@0.10.7) (2023-09-14)

**Note:** Version bump only for package @perf-profiler/profiler

## [0.10.6](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.5...@perf-profiler/profiler@0.10.6) (2023-08-18)

### Bug Fixes

- fix tests that could timeout after an app crash ([#146](https://github.com/bamlab/android-performance-profiler/issues/146)) ([cbbe38e](https://github.com/bamlab/android-performance-profiler/commit/cbbe38e3517601d800f32767451dd5f9c97e5b3f))

## [0.10.5](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.4...@perf-profiler/profiler@0.10.5) (2023-07-31)

**Note:** Version bump only for package @perf-profiler/profiler

## [0.10.4](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.3...@perf-profiler/profiler@0.10.4) (2023-07-31)

**Note:** Version bump only for package @perf-profiler/profiler

## [0.10.3](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.2...@perf-profiler/profiler@0.10.3) (2023-07-31)

### Bug Fixes

- **profiler:** improve accuracy of CPU measures ([#140](https://github.com/bamlab/android-performance-profiler/issues/140)) ([5038cb7](https://github.com/bamlab/android-performance-profiler/commit/5038cb7704a551ca70ab67e1726bb6321d7f63b1))

## [0.10.2](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.1...@perf-profiler/profiler@0.10.2) (2023-07-12)

### Bug Fixes

- **profiler:** add sigint to authorized exit codes ([3447a38](https://github.com/bamlab/android-performance-profiler/commit/3447a38b944fd99b3e91328b9bc022c8b387fc21))

## [0.10.1](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.10.0...@perf-profiler/profiler@0.10.1) (2023-07-12)

### Bug Fixes

- **profiler:** no such file /proc/{pid}/task ([#117](https://github.com/bamlab/android-performance-profiler/issues/117)) ([a3db43f](https://github.com/bamlab/android-performance-profiler/commit/a3db43f60beac4569dc7e96753497f26f7f8e605))

# [0.10.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.9.2...@perf-profiler/profiler@0.10.0) (2023-06-28)

### Features

- **measure:** measure in webapp without need for flipper ([#121](https://github.com/bamlab/android-performance-profiler/issues/121)) ([6f68b55](https://github.com/bamlab/android-performance-profiler/commit/6f68b55cfaccfd18273bec96a06e9fd38d9edc5d))

## [0.9.2](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.9.1...@perf-profiler/profiler@0.9.2) (2023-05-25)

### Bug Fixes

- **profiler:** fix some cpu measuring inaccuracies ([#109](https://github.com/bamlab/android-performance-profiler/issues/109)) ([79b6f79](https://github.com/bamlab/android-performance-profiler/commit/79b6f79f3d9c60581fdaadf5a52a053b2b64320c)), closes [392744175c4de67dc98e72da6745e6351118c985/toolbox/top.c#422](https://github.com/392744175c4de67dc98e72da6745e6351118c985/toolbox/top.c/issues/422)

## [0.9.1](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.9.0...@perf-profiler/profiler@0.9.1) (2023-05-19)

### Bug Fixes

- **profiler:** fix buffer overflow when running atrace async_stop ([#107](https://github.com/bamlab/android-performance-profiler/issues/107)) ([f06a849](https://github.com/bamlab/android-performance-profiler/commit/f06a849d9c3acc70ca8da488b93e269b27d54484))

# [0.9.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.8.0...@perf-profiler/profiler@0.9.0) (2023-05-08)

### Bug Fixes

- **profiler:** fallback on alternative atrace file for certain devices ([#100](https://github.com/bamlab/android-performance-profiler/issues/100)) ([93ad2c8](https://github.com/bamlab/android-performance-profiler/commit/93ad2c84f9a4bc2cdb2d1f5e42841b906c1a0adb))

### Features

- **flipper:** integrate new design ([#104](https://github.com/bamlab/android-performance-profiler/issues/104)) ([b3410b5](https://github.com/bamlab/android-performance-profiler/commit/b3410b5848f715d2475bc12d6d13e28bc78b79ad))

# [0.8.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.7.0...@perf-profiler/profiler@0.8.0) (2023-04-26)

### Features

- **test:** add record bitRate and size option ([#97](https://github.com/bamlab/android-performance-profiler/issues/97)) ([364f58a](https://github.com/bamlab/android-performance-profiler/commit/364f58a973ad336e1e810b6c6b83c48c709c6ead))

# [0.7.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.6.0...@perf-profiler/profiler@0.7.0) (2023-04-19)

### Features

- **profiler:** group binder threads together in measures ([#89](https://github.com/bamlab/android-performance-profiler/issues/89)) ([543ffa7](https://github.com/bamlab/android-performance-profiler/commit/543ffa7f115b2f8dd62a01dca25f21d4b8fdd24d))

# [0.6.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.5.0...@perf-profiler/profiler@0.6.0) (2023-04-18)

### Bug Fixes

- **profiler:** improve timings accuracy ([#84](https://github.com/bamlab/android-performance-profiler/issues/84)) ([1908689](https://github.com/bamlab/android-performance-profiler/commit/19086891b618382dd290431e63cf72059a729133))

### Features

- add --record options to have videos in report ([#86](https://github.com/bamlab/android-performance-profiler/issues/86)) ([2094d38](https://github.com/bamlab/android-performance-profiler/commit/2094d38845a8e96696fea94e91a91cc9f174931d))
- add windows support ([#77](https://github.com/bamlab/android-performance-profiler/issues/77)) ([b6d152c](https://github.com/bamlab/android-performance-profiler/commit/b6d152c88d6fd2e51ee02c75113ff51b076df386))

### BREAKING CHANGES

- **profiler:** if using a custom script, pollPerformanceMeasures will now take `{ onMeasure: (Measure) => void }` as second parameter

# [0.5.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.4.2...@perf-profiler/profiler@0.5.0) (2023-02-06)

- feat!: prepare for standalone executable (#71) ([3d6aa79](https://github.com/bamlab/android-performance-profiler/commit/3d6aa797164e2b566db2c5b725475addd1f6d71c)), closes [#71](https://github.com/bamlab/android-performance-profiler/issues/71)

### BREAKING CHANGES

- commands have additional prefix, see readme for changes

- chore: ensure standalone executable work with c++ binaries

- chore(web): put report in tmp dir by default

This is especially important for the standalone executable

- docs: revamp docs with docusaurus

## [0.4.2](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.4.1...@perf-profiler/profiler@0.4.2) (2022-12-16)

### Bug Fixes

- **profiler:** make FPS polling safer ([#62](https://github.com/bamlab/android-performance-profiler/issues/62)) ([2c5edd8](https://github.com/bamlab/android-performance-profiler/commit/2c5edd8a4cb8b598c5cbd8a959f2d6870d5922cc))

## [0.4.1](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.4.0...@perf-profiler/profiler@0.4.1) (2022-11-03)

### Bug Fixes

- **profiler:** ensure fps > 0 ([13c8c7b](https://github.com/bamlab/android-performance-profiler/commit/13c8c7b3abc52bd88b1c0db10c835680a49df9f1))

# [0.4.0](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.3.2...@perf-profiler/profiler@0.4.0) (2022-10-28)

### Features

- **cppProfiler:** throw an error if SDK version is less than 24 (Android 7) ([#40](https://github.com/bamlab/android-performance-profiler/issues/40)) ([ba5a880](https://github.com/bamlab/android-performance-profiler/commit/ba5a880d3aba0ee2691e91323bb37912bc22a444))
- **profiler:** prepare for flipper plugin publish ([#42](https://github.com/bamlab/android-performance-profiler/issues/42)) ([43e97e3](https://github.com/bamlab/android-performance-profiler/commit/43e97e380e51ea5d50c2515e16079f7a9caab8eb))

## [0.3.2](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.3.1...@perf-profiler/profiler@0.3.2) (2022-10-13)

**Note:** Version bump only for package @perf-profiler/profiler

## [0.3.1](https://github.com/bamlab/android-performance-profiler/compare/@perf-profiler/profiler@0.3.0...@perf-profiler/profiler@0.3.1) (2022-09-27)

### Bug Fixes

- **profiler:** fix bundle id option in profile command ([595060d](https://github.com/bamlab/android-performance-profiler/commit/595060d513073d06489ae2ebd0bcca25e546a7e2))

# 0.3.0 (2022-09-27)

### Features

- **profiler:** improve fps accuracy by using atrace for reporting ([#28](https://github.com/bamlab/android-performance-profiler/issues/28)) ([ad161d5](https://github.com/bamlab/android-performance-profiler/commit/ad161d53b6d219242641e33e5d1f8214ad0f5f6c))

# 0.2.0 (2022-09-07)

### Bug Fixes

- **profiler:** detect appActivity when command output doesn't contain "$" ([6332d7b](https://github.com/bamlab/android-performance-profiler/commit/6332d7bd2e0504254f22f014d8764d2d8b6508d0))

### Features

- **profiler:** replace bundle id by "UI Thread" in CPU measures ([0653a46](https://github.com/bamlab/android-performance-profiler/commit/0653a461cd1a18f1202e9189e22518cda5f84637))

# 0.1.0 (2022-08-30)

# 0.1.0-alpha.9 (2022-08-29)

# 0.1.0-alpha.8 (2022-08-27)

### Features

- **profiler:** add c++ version ([4c56697](https://github.com/bamlab/android-performance-profiler/commit/4c566973cfe4ea0f23eed3109dfb8ca66e5b0001))
- **profiler:** add command to print app activity ([1d81cde](https://github.com/bamlab/android-performance-profiler/commit/1d81cdebce370b020359173ba834f0dd81d8da80))
- **profiler:** add spawn function ([e6eba2e](https://github.com/bamlab/android-performance-profiler/commit/e6eba2e88d9621fd096fc3f3b56614b46b9ca781))
- **profiler:** add ts file to interface with c++ profiler ([57c7bb2](https://github.com/bamlab/android-performance-profiler/commit/57c7bb26061b24814d5779ff841b11193fc2355f))
- **profiler:** add useful commands ([a7c5dba](https://github.com/bamlab/android-performance-profiler/commit/a7c5dbab2f00c387a595eefc50f6c1832c60271c))
- **profiler:** always ensure c++ profiler is installed ([1982760](https://github.com/bamlab/android-performance-profiler/commit/1982760b638d3b59b919c15ee8d30ef40bbc5637))
- **profiler:** replace with cpp profiling ([1e85b84](https://github.com/bamlab/android-performance-profiler/commit/1e85b8499aa1c2fa166cd3296ce62f6dbbf8f9e4))

# 0.1.0-alpha.7 (2022-08-12)

# 0.1.0-alpha.6 (2022-08-12)

# 0.1.0-alpha.5 (2022-08-12)

# 0.1.0-alpha.4 (2022-08-08)

### Features

- **fps:** auto enable debug.hwui.profile ([12a4042](https://github.com/bamlab/android-performance-profiler/commit/12a40429ce1fa137a99c417b97b572935d1ea158))

# 0.1.0-alpha.3 (2022-08-04)

### Bug Fixes

- **fps:** take idle frames into account ([125e2e2](https://github.com/bamlab/android-performance-profiler/commit/125e2e219f28ee8efb275fc671b2c8e9d620c39c))

### Features

- add FPS poc ([6fe3398](https://github.com/bamlab/android-performance-profiler/commit/6fe33981db9cfd45bae8d9db7973cff7286d394c))
- add ram usage ([1f1515a](https://github.com/bamlab/android-performance-profiler/commit/1f1515a9e5f6cc9093892703cda6c9e21781aae0))
- add some gfxinfo parsing ([f365604](https://github.com/bamlab/android-performance-profiler/commit/f365604d51f5f6ff018b9cab43c2ac5271a61488))
- build better comparison view ([6228ab4](https://github.com/bamlab/android-performance-profiler/commit/6228ab4f1e5eca6e557f69402bb81963bb270dfd))
- improve execLoopCommands ([3d0c78a](https://github.com/bamlab/android-performance-profiler/commit/3d0c78a0887f14863fcd7ef9e903f64759852149))
- introducing flipper-plugin-android-performance-profiler ([dc18a3c](https://github.com/bamlab/android-performance-profiler/commit/dc18a3ce83df792ebb32901fb1236f011d3cd10f))
- measure fps ([b643918](https://github.com/bamlab/android-performance-profiler/commit/b64391823f3ff1cf32770791ba24ec6fe174afa9))

### Performance Improvements

- improve reporting time accuracy ([fb0ea48](https://github.com/bamlab/android-performance-profiler/commit/fb0ea481bfaf9624cdfc783004400cb5cfc3b9ad))
