17
submitted 8 months ago* (last edited 8 months ago) by olgas_husband@lemmygrad.ml to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] Corngood@lemmy.ml 11 points 8 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.

[-] Kanedias@lemmy.ml 3 points 8 months ago

I bet Phoronix has benchmarks of this

[-] olgas_husband@lemmygrad.ml 3 points 8 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

this post was submitted on 18 Feb 2024
17 points (90.5% liked)

Linux

48040 readers
817 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS