GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Ivan Molodetskikh (yalter@mastodon.online)'s status on Sunday, 07-Apr-2024 19:56:04 JST Ivan Molodetskikh Ivan Molodetskikh

    Alright, let's see if Tracy can show me anything interesting in Mutter and Shell

    In conversation about a year ago from mastodon.online permalink

    Attachments


    1. https://files.mastodon.online/media_attachments/files/111/175/576/792/543/749/original/715f130c586d8336.png
    • Embed this notice
      Ivan Molodetskikh (yalter@mastodon.online)'s status on Sunday, 07-Apr-2024 19:56:02 JST Ivan Molodetskikh Ivan Molodetskikh
      in reply to

      Today I managed to hack together GSource instrumentation with Tracy. Now this gets into a more complex territory because it's in glib, so Tracy needs to be a separately installed shared library, and it should only start its profiling threads in the process I care about (gnome-shell) and not in all processes that use glib. Tracy has manual profiler start/stop support for this, but I had to add a function that checks whether the profiler had started, and tweak the meson build to output pkgconfig.

      In conversation about a year ago permalink

      Attachments


      1. https://files.mastodon.online/media_attachments/files/111/232/057/384/465/158/original/e8071e2a3fb0bc30.png
    • Embed this notice
      Ivan Molodetskikh (yalter@mastodon.online)'s status on Sunday, 07-Apr-2024 19:56:02 JST Ivan Molodetskikh Ivan Molodetskikh
      in reply to

      iwlwifi my beloved, randomly borrowing the CPU core from a running compositor

      In conversation about a year ago permalink

      Attachments


      1. https://files.mastodon.online/media_attachments/files/111/239/727/196/796/403/original/07416bd3901082de.png
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Ivan Molodetskikh (yalter@mastodon.online)'s status on Sunday, 07-Apr-2024 19:56:03 JST Ivan Molodetskikh Ivan Molodetskikh
      in reply to

      Today made buildsystem integration between Tracy and Cogl considerably less cursed, and started adding plots.

      Unfortunately, I had to disable Tracy symbol collection entirely by default as the contention with whatever GJS is doing is really bad. The main thing this loses is the ability to see what's going on in zones not annotated with spans, and in wait stacks, which is occasionally useful.

      In conversation about a year ago permalink

      Attachments


      1. https://files.mastodon.online/media_attachments/files/111/203/858/143/388/558/original/9d96c8c5d2700bff.png
    • Embed this notice
      Ivan Molodetskikh (yalter@mastodon.online)'s status on Sunday, 07-Apr-2024 19:56:03 JST Ivan Molodetskikh Ivan Molodetskikh
      in reply to

      Trying to profile a real session running on my slower laptop today. Already found two things of interest:

      1. Clutter isn't compressing touchpad swipe events, processing them one by one, taking almost 2 ms each.

      2. Layout running during picking? Doesn't seem intended.

      Also worked on making a COPR with Tracy-instrumented Mutter so others can record their performance problems too. I'll link that later, once someone else gives it a try and confirms that it works.

      In conversation about a year ago permalink

      Attachments


      1. https://files.mastodon.online/media_attachments/files/111/221/055/990/170/076/original/0fe610e7482ad968.png

      2. https://files.mastodon.online/media_attachments/files/111/221/059/030/305/796/original/64fa938a0993b2b9.png
    • Embed this notice
      Ivan Molodetskikh (yalter@mastodon.online)'s status on Sunday, 07-Apr-2024 19:56:04 JST Ivan Molodetskikh Ivan Molodetskikh
      in reply to

      Not sure what exactly is going on, but whenever Tracy is resolving symbols I'm seeing GJS code block in dlsym() hundreds of times per frame with the sort of backtrace like on the screenshot, leading to massive lag in some cases. Thankfully, TRACY_NO_SAMPLING=1 removes most of this interference.

      I guess normally GJS hits some sort of cache for these hundreds of requests when it doesn't contend with Tracy? Either way, a bit unfortunate.

      In conversation about a year ago permalink

      Attachments


      1. https://files.mastodon.online/media_attachments/files/111/186/721/434/678/147/original/0e1363fa13d1e1e6.png

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.