-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(profiler): improve performance (#280)
* chore(profiler): add timings average in logs * fix(perf): improve performance of profiler * chore(profiler): set c++ standard * perf(profiler): improve read file performance * chore(profiler): set thread names * refactor(profiler): extract function * refactor(profiler): extract function * chore: generate binaries * prune: remove duplicated confusing interface * refactor(profiler): add supportFPS * refactor(profiler): move function * refactor: simplify ensureCppProfilerIsInstalled * refactor: rename function * refactor: move function * refactor: move function * refactor: move function * refactor: remove platformProfiler from android * chore: add profiler to measure flashlight performance
- Loading branch information
Showing
21 changed files
with
324 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
cmake_minimum_required(VERSION 3.16.0) | ||
project(android-cmake-flashlight) | ||
add_executable(BAMPerfProfiler src/main.cpp src/atrace.cpp src/utils.cpp) | ||
|
||
set(CMAKE_CXX_STANDARD 21) |
Binary file modified
BIN
+664 Bytes
(100%)
packages/platforms/android/cpp-profiler/bin/BAMPerfProfiler-arm64-v8a
Binary file not shown.
Binary file modified
BIN
-872 Bytes
(100%)
packages/platforms/android/cpp-profiler/bin/BAMPerfProfiler-armeabi-v7a
Binary file not shown.
Binary file modified
BIN
+440 Bytes
(100%)
packages/platforms/android/cpp-profiler/bin/BAMPerfProfiler-x86
Binary file not shown.
Binary file modified
BIN
-56 Bytes
(100%)
packages/platforms/android/cpp-profiler/bin/BAMPerfProfiler-x86_64
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
packages/platforms/android/src/commands/cpu/CpuMeasureAggregator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.