Skip to content

Commit

Permalink
docs: update decompression stats
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrechette committed Nov 28, 2023
1 parent 77e84db commit bcfbacf
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 65 deletions.
15 changes: 7 additions & 8 deletions docs/decompression_performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,24 @@ Note that the data is not yet conveniently packaged.

Here are the platforms we measure on:

* Desktop: Intel i7-6850K @ 3.8 GHz (for v1.2 and earlier)
* Desktop: Ryzen 2950X @ 3.5 GHz (for v1.3 and later)
* Laptop: MacBook Pro mid 2014 @ 2.6 GHz
* Phone: Android Pixel 3 @ 2.5 GHz
* Desktop: Ryzen 2950X @ 3.5 GHz
* Phone: Android Pixel 3 @ 2.5 GHz (for v2.0 and earlier)
* Phone: Android Pixel 7 @ 2.85 GHz (for v2.1 and later)
* Tablet: iPad Pro 10.5 inch @ 2.39 GHz

We only show a few compilers and architectures to keep the graphs readable.

**Unless otherwise specified, the results are from release [2.0.0](https://github.com/nfrechette/acl/releases/tag/v2.0.0)**
**Unless otherwise specified, the results are from release [2.1.0](https://github.com/nfrechette/acl/releases/tag/v2.1.0)**

## Uniformly sampled algorithm

The uniformly sampled algorithm offers consistent performance regardless of the playback direction. Shown here is the median performance of `decompress_pose` with a cold CPU cache for **3** clips with forward, backward, and random playback on the *iPad*.

| Clip Name | Forward | Backward | Random |
| ------------ | --------- | --------- | --------- |
| 104_30 | 0.978 us | 1.010 us | 1.014 us |
| Trooper_1 | 2.432 us | 2.258 us | 2.402 us |
| Trooper_Main | 30.953 us | 30.658 us | 30.776 us |
| 104_30 | 0.910 us | 0.961 us | 0.960 us |
| Trooper_1 | 2.304 us | 2.137 us | 2.354 us |
| Trooper_Main | 28.837 us | 29.782 us | 29.918 us |

As can be seen, the performance is consistent regardless of the playback direction. It also remains consistent regardless of the clip sample rate and the clip playback rate.

Expand Down
Binary file modified docs/images/acl_decomp_delta_uniform_bone_cmu_speed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_delta_uniform_bone_matinee_speed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_delta_uniform_pose_cmu_speed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_delta_uniform_pose_matinee_speed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_uniform_bone_cmu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_uniform_bone_matinee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_uniform_pose_cmu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/acl_decomp_uniform_pose_matinee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 18 additions & 32 deletions tools/graph_generation/decomp_delta_inputs.sjson
Original file line number Diff line number Diff line change
@@ -1,59 +1,45 @@
inputs =
[
{
header = "VS 2017 x64"
name = "vs2017-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-vs2017-x64-2.0.0"
version = "2.0"
source = "acl"
}
{
header = "OS X x64"
name = "osx-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-osx-x64-2.0.0"
version = "2.0"
header = "VS 2022 x64"
name = "vs2022-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.1.0\\decomp-stats-vs2022-x64-2.1.0"
version = "2.1"
source = "acl"
}
{
header = "iOS arm64"
name = "ios-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-ios-arm64-2.0.0"
version = "2.0"
stats_dir = "K:\\test_animations\\decomp_stats-2.1.0\\decomp-stats-ios-arm64-2.1.0"
version = "2.1"
source = "acl"
}
{
header = "Android arm64"
name = "android-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-p3-arm64-2.0.0"
version = "2.0"
header = "Pixel 7 arm64"
name = "Pixel 7-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.1.0\\decomp-stats-p7-arm64-2.1.0"
version = "2.1"
source = "acl"
}
{
header = "VS 2017 x64"
name = "vs2017-x64"
stats_dir = "K:\\test_animations\\decomp_stats-1.3.0\\decomp-stats-vs2017-x64-1.3.0"
version = "1.3"
source = "acl"
}
{
header = "OS X x64"
name = "osx-x64"
stats_dir = "K:\\test_animations\\decomp_stats-1.3.0\\decomp-stats-osx-x64-1.3.0"
version = "1.3"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-vs2017-x64-2.0.0"
version = "2.0"
source = "acl"
}
{
header = "iOS arm64"
name = "ios-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-1.3.0\\decomp-stats-ios-arm64-1.3.0"
version = "1.3"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-ios-arm64-2.0.0"
version = "2.0"
source = "acl"
}
{
header = "Android arm64"
name = "android-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-1.3.0\\decomp-stats-p3-arm64-1.3.0"
version = "1.3"
header = "Pixel 3 arm64"
name = "pixel3-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-p3-arm64-2.0.0"
version = "2.0"
source = "acl"
}
]
34 changes: 10 additions & 24 deletions tools/graph_generation/decomp_inputs.sjson
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
inputs =
[
{
header = "VS 2017 x64"
name = "vs2017-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-vs2017-x64-2.0.0"
version = 2.0
source = "acl"
}
{
header = "Clang 11 x64"
name = "clang11-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-clang11-x64-2.0.0"
version = 2.0
source = "acl"
}
{
header = "OS X x64"
name = "osx-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-osx-x64-2.0.0"
version = 2.0
header = "VS 2022 x64"
name = "vs2022-x64"
stats_dir = "K:\\test_animations\\decomp_stats-2.1.0\\decomp-stats-vs2022-x64-2.1.0"
version = 2.1
source = "acl"
}
{
header = "iOS arm64"
name = "ios-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-ios-arm64-2.0.0"
version = 2.0
stats_dir = "K:\\test_animations\\decomp_stats-2.1.0\\decomp-stats-ios-arm64-2.1.0"
version = 2.1
source = "acl"
}
{
header = "Android arm64"
name = "android-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.0.0\\decomp-stats-p3-arm64-2.0.0"
version = 2.0
header = "Pixel 7 arm64"
name = "pixel7-arm64"
stats_dir = "K:\\test_animations\\decomp_stats-2.1.0\\decomp-stats-p7-arm64-2.1.0"
version = 2.1
source = "acl"
}
]
1 change: 0 additions & 1 deletion tools/graph_generation/gen_decomp_delta_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def bytes_to_mb(num_bytes):
bone_medians_mbsec_csv = []

for clip_name in clip_names:
pose_size = pose_size_per_clip[clip_name]
pose_cold_median_us = pose_medians_us[clip_name]
bone_cold_median_us = bone_medians_us[clip_name]

Expand Down

0 comments on commit bcfbacf

Please sign in to comment.