Skip to content
Permalink
Browse files
[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:



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 0bb1a06c26f943b262370ee7706e6d6ab4ff8889
Showing 2 changed files with 16 additions and 1 deletion.
@@ -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
@@ -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

0 comments on commit 0bb1a06

Please sign in to comment.