Skip to content

Does compiling from source improve the software's performance?

Removed before it was archived.

0 points8 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Score
0 · 100% up
Kind
Text
ID
8omaut

9 comments

You can usually eek out a couple extra percent if you're compiling with -march=native. But for the extra time and work put in it's very rarely worth it.

24 points

No. Why would it? If you use the same flags then definitely not.

And even if you carefully optimize every single package, it probably wont even be measurable. It's just not worth it.

11 points
unknown author

Deleted before we saved it.

10 points

Unless you're manually changing build flags to suit your system, no.

3 points

Depends on the package and what you are changing, e.g: enabling GPU acceleration for processing that's disabled in the stock packages.

The best way to answer this question is to actually benchmark the packages you are compiling vs the precompiled ones. If it's a cli tool that exits when it's completed it's job you can test how long it takes via time, otherwise if the tool doesn't have some built-in way of measuring it's performance it gets a bit more complicated.

2 points

It can.

Will you realistically notice? No. Exception being if you can turn on some specific improvement that's not on by default, like GPU acceleration or something.

1 points

In normal usage of desktop where most of the resources are not utilized anyways, there is no meaningful difference. For very few special packages that you care to optimize, there is always ABS (or AUR).

1 points

If you're just running the vanilla package build, you're wasting time. If you're stripping down features that cause a lot of bloat, and you don't need, maybe, but on modern hardware the difference would still be negligible.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.