For nerd purposes I’ve been trying to custom compile Wine to see if i can squeeze some performance out of it, i pulled out the -g flag and put in its place -O3 with march native. i don’t know how to benchmark properly to see if there at least a marginal gain, so idk if it is a placebo or not. tried to search for articles in the subject but found none

has anyone tried it or know an article that explored the subject?

  • Corngood@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    9 months ago

    IMO there’s no point in optimising without being able to measure the results.

    A profiler should be able to tell you how much time is spent running the code you’re attempting to optimise. It might turn out that the wine runtime code is not a significant factor in performance.

      • olgas_husband@lemmygrad.mlOP
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        i searched phoronix and found nothing, they did other programs whenever a new gcc version launched, they compiled a lot of benchmarks with different flags and measure compile time and program performance, some programs gained a noticeable with -O3 -march=native

    • melroy@kbin.melroy.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      9 months ago

      I think the position of the moon and the sun and the relationship between the two has more effect