New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 603618 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 520056



Sign in to add a comment

libwebp.gyp ignores order_profiling

Project Member Reported by pasko@chromium.org, Apr 14 2016

Issue description

When order_profiling=1 all files (except a very small selection) need to be compiled with '-finstrument-functions' compiler flag.

However, for some historical reasons libwebp.gyp wants to stay below the instrumentation radar. With GN the instrumentation is not avoided. Nothing breaks in the pipeline with GN.

So we should clean up the GYP build to match.
 

Comment 1 by pasko@chromium.org, Apr 14 2016

Cc: agrieve@chromium.org
Labels: -Performance-Startup
It's not clear if this falls under Chrome startup performance (Removing Performance-Startup).

If it does, feel free to re-add the label.

Comment 3 by pasko@chromium.org, Apr 14 2016

Labels: Performance-Startup OS-Android
order_profiling pipeline is one of the main optimizations for startup performance on Android. It was used before on ChromeOS, but no longer.
If it's working with GN, I doubt it's worth looking at the GYP. It'll likely be deleted in a couple of months.

Comment 5 by pasko@chromium.org, Apr 15 2016

re #4: it is a small change: https://codereview.chromium.org/1889513005/

Also makes sure that nobody tries to take unneeded GYP stuff into GN (I don't know how this process works - just extra safety).

Comment 6 by pasko@chromium.org, Apr 15 2016

Blocking: 520056
Project Member

Comment 7 by bugdroid1@chromium.org, Apr 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6d91056b63c00b0911f426859ef907e9f70ee627

commit 6d91056b63c00b0911f426859ef907e9f70ee627
Author: pasko <pasko@chromium.org>
Date: Fri Apr 15 09:49:33 2016

Make libwebp.gyp respect order_profiling mode

Currently when order_profiling=1 build flag is set GN would instrument all
libwebp targets and produce the 'orderfile' containing libwebp functions.

This change brings the GYP build on par with GN build with respect to treating
the order_profiling flag. Reasons for having a special case in GYP are
historical and probably not relevant any more.

Performance impact on the GYP build will probably be negligible. It just feels
good to simplify things.

BUG= 603618 

Review URL: https://codereview.chromium.org/1889513005

Cr-Commit-Position: refs/heads/master@{#387564}

[modify] https://crrev.com/6d91056b63c00b0911f426859ef907e9f70ee627/third_party/libwebp/libwebp.gyp

Comment 8 by pasko@chromium.org, Apr 15 2016

Status: Fixed (was: Assigned)

Sign in to add a comment