Build time

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Kendo

Build time

Unread post by Kendo » 2021-02-02, 08:41

For those of you who are building Pale Moon, for whatever release, who long does it take to build (not package)?

On my Mac I have found that it takes over 2 hours.
Building on a QuadCore it took an hour an an hour and 44 mins.
Building on an i7 with 32 GB RAM took 43 mins.

How does your machine fare?
Last edited by Kendo on 2021-02-02, 08:44, edited 1 time in total.

New Tobin Paradigm

Re: Build time

Unread post by New Tobin Paradigm » 2021-02-02, 08:43

It takes a period of time units.

Kendo

Re: Build time

Unread post by Kendo » 2021-02-02, 08:45

New Tobin Paradigm wrote:
2021-02-02, 08:43
It takes a period of time units.
Sorry but that answer is not helpful.

New Tobin Paradigm

Re: Build time

Unread post by New Tobin Paradigm » 2021-02-02, 08:48

It depends on what you are building as well as your hardware. I hardly see a reason for this thread to exist. How does build time relate to development.

Kendo

Re: Build time

Unread post by Kendo » 2021-02-02, 08:51

If you don't understand the question, just say "pass".

New Tobin Paradigm

Re: Build time

Unread post by New Tobin Paradigm » 2021-02-02, 08:52

I didn't say I didn't understand it I just don't see the relevance.

Kendo

Re: Build time

Unread post by Kendo » 2021-02-02, 08:56

New Tobin Paradigm wrote:
2021-02-02, 08:52
I didn't say I didn't understand it I just don't see the relevance.
The revlevance is "build time" as the topic is aptly named. When developing or modifying the source we need to build and test, right?

I used to type in "./mach build' and have enough time to go and mow the lawn which is 4 acres.

Comprendez?

New Tobin Paradigm

Re: Build time

Unread post by New Tobin Paradigm » 2021-02-02, 09:14

Yeah but what are other people's build times gonna do for you?

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: Build time

Unread post by biopsin » 2021-02-02, 09:36

23:03.44 We know it took a while, but your build finally finished successfully!
(ryzen 7-2700 & 32Gb ram)

..now can I have my participation cookie, pretty please :shh:
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

Kendo

Re: Build time

Unread post by Kendo » 2021-02-02, 09:50

New Tobin Paradigm wrote:
2021-02-02, 09:14
Yeah but what are other people's build times gonna do for you?
If you need to know, wait and find out.

Kendo

Re: Build time

Unread post by Kendo » 2021-02-02, 09:51

biopsin wrote:
2021-02-02, 09:36
23:03.44 We know it took a while, but your build finally finished successfully!
(ryzen 7-2700 & 32Gb ram)
So how many minutes did it take? Yawn!

New Tobin Paradigm

Re: Build time

Unread post by New Tobin Paradigm » 2021-02-02, 10:08

It says it right there, insect.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35479
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Build time

Unread post by Moonchild » 2021-02-02, 11:25

Kendo wrote:
2021-02-02, 08:56
When developing or modifying the source we need to build and test, right?
In that case you're talking about a few minutes unless you clobber every time (which you shouldn't). My incremental build times tend to be 2.5-5 minutes depending on how much of the tree needs to be rebuilt due to the code change. Sometimes more if I touch e.g. broadly-used C++ headers.
The initial build will take longer if you just made a new checkout.

Build time depends on many factors. Having people just spout their hardware and their latest clobber build time is no indication of when you are developing.
Build time can take from a few minutes (incremental) to a number of hours (clobber) depending on:
  • What you are building
  • Your buildconfig
  • Incremental or clobber
  • How many threads you tell it to use
  • The number of cores you have available
  • The amount of RAM you have available
  • How fast your disk is
  • Which O.S. you are building for (and which compiler you are using as a result)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kendo

Re: Build time

Unread post by Kendo » 2021-02-04, 15:04

Moonchild wrote:
2021-02-02, 11:25
unless you clobber every time (which you shouldn't).
I do every time because it prevents over write problems. It doesn't happen often, but on odd occasion I get complaints about write permissions on existing files and either have to reboot or build into a different folder. No files or folders were open in any other application.

New Tobin Paradigm

Re: Build time

Unread post by New Tobin Paradigm » 2021-02-04, 15:09

So your build environment is not sane. Good to know.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35479
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Build time

Unread post by Moonchild » 2021-02-04, 15:14

You should fix your build box so you don't run into that kind of issue when doing an incremental build.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kendo

Re: Build time

Unread post by Kendo » 2021-02-06, 07:47

Moonchild wrote:
2021-02-04, 15:14
You should fix your build box so you don't run into that kind of issue when doing an incremental build.
Not sure what else I can do because I do use a specific folder and not the auto generated oen at "object blah blah" so that I can set write permissions for "everyone". Also have UAC disabled, but occasionally (not often) do get build errors because a "file" is not writable.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35479
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Build time

Unread post by Moonchild » 2021-02-06, 09:57

Do you have other processes "monitoring" your file system? antivirus or the likes? That can interfere.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Kendo

Re: Build time

Unread post by Kendo » 2021-02-08, 07:42

Moonchild wrote:
2021-02-06, 09:57
Do you have other processes "monitoring" your file system? antivirus or the likes? That can interfere.
No. Don't use them. But as I mentioned.. only on rare occasions.

Locked