Git Product home page Git Product logo

Comments (5)

danielcdh avatar danielcdh commented on April 28, 2024

We've not tested the perf reader with very large input, so I'm not surprised that this bug slipped our testing. Feel free to send out pull request for the fixing. It is also possible that the bug would be fixed after rebasing quipper to the latest.

A workaround would be sample for small period of time multiple times, and use sample-merger to merge these small perf.data into text format.

from autofdo.

AnantSah avatar AnantSah commented on April 28, 2024

Thanks for your reply.
So, what I understand is that I can create multiple gcovs using small many small perf.data files, and combine them into 1 gcov?
And then I can use this resulting gcov to optimize my code using autofdo (using fauto-profile).
Combing multiple gcovs seems to be a problem. I can see solutions of combining gcda and gcno files , to create one gcov. I could not find how to create merge many gcovs together.

from autofdo.

danielcdh avatar danielcdh commented on April 28, 2024

You can use profiler_merger for that purpose. OTOH, you can also use sample_merger to merge perf.data samples into text files, and then use create_llvm_prof/create_gcov with -profiler=text to take that text file as --profile, in this way you only need to symbolize the binary once.

from autofdo.

AnantSah avatar AnantSah commented on April 28, 2024

I am able to use both profile_merger and sample_merger to get around the problem of handling large perf.data files.
Thanks a lot for your help.

from autofdo.

danielcdh avatar danielcdh commented on April 28, 2024

I assume this bug is no applicable any more with the use of sample_merger/profile_merge. Closing it for now.

from autofdo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.