Skip to content

Commit

Permalink
[libpas] Enable libpas on iOS family
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=232026

Reviewed by Filip Pizlo.

Enabling libpas on iOS family platforms. This helps libpas transition.
And it offers large performance improvement.

    1. Speedometer2 is 0.7% improved on low-end iOS device (iPhone 6s Plus), 1.3% improved on high-end iOS device (iPhone 12).
    2. JetStream2 is neutral on both.

* bmalloc/BPlatform.h:



Canonical link: https://commits.webkit.org/243995@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Constellation committed Nov 9, 2021
1 parent 29d60e3 commit 0bb1a06
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Source/bmalloc/ChangeLog
@@ -1,3 +1,18 @@
2021-11-08 Yusuke Suzuki <ysuzuki@apple.com>

[libpas] Enable libpas on iOS family
https://bugs.webkit.org/show_bug.cgi?id=232026

Reviewed by Filip Pizlo.

Enabling libpas on iOS family platforms. This helps libpas transition.
And it offers large performance improvement.

1. Speedometer2 is 0.7% improved on low-end iOS device (iPhone 6s Plus), 1.3% improved on high-end iOS device (iPhone 12).
2. JetStream2 is neutral on both.

* bmalloc/BPlatform.h:

2021-11-08 Yusuke Suzuki <ysuzuki@apple.com>

Unreviewed, tweak header include
Expand Down
2 changes: 1 addition & 1 deletion Source/bmalloc/bmalloc/BPlatform.h
Expand Up @@ -311,7 +311,7 @@

/* BENABLE(LIBPAS) is enabling libpas build. But this does not mean we use libpas for bmalloc replacement. */
#if !defined(BENABLE_LIBPAS)
#if BOS(MAC)
#if BPLATFORM(COCOA) && BCPU(ADDRESS64)
#define BENABLE_LIBPAS 1
#else
#define BENABLE_LIBPAS 0
Expand Down

0 comments on commit 0bb1a06

Please sign in to comment.