Giter Site home page Giter Site logo

Comments (2)

kulakowski avatar kulakowski commented on May 29, 2024 3

Thanks for the issue! And I found https://github.com/zamazan4ik/awesome-pgo via your github profile, it's quite a helpful resource.

LTO, PGO, and BOLT are definitely things we've discussed internally, as well as the challenges you mentioned like collecting a good enough profile, and integrating them into the build and release processes. And in fact we are using ThinLTO in release builds now.

As the project matures we'll get a better idea of when we will invest more in this!

from spacetimedb.

marvin-hansen avatar marvin-hansen commented on May 29, 2024

Actually, LTO & PGO is relatively easy in practice.

I made a code example a few month ago with a step-by-step quick guide:

https://github.com/rust-academy/rust-lto-pgo/blob/main/docs/results-health.txt

cargo-pgo is your best friend. It's super simple and fast to use:
https://github.com/Kobzol/cargo-pgo

The biggest gain for me was massively reduced tail end latency meaning everything past the 75 percentile saw
significant reduced latency and I would say users generally appreciate less loading time when systems are busy.

from spacetimedb.

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.