Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Benchmarks For Default Compiling & Make Check #197

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

JaredTate
Copy link

This PR disables compiling the benchmarks by default so that when we run make check all unit, wallet & GUI tests now pass successfully. It also fixes the first bench test error I came across.

Benchmarks can still be run by configuring with ./configure --enable-bench flag. I started attempting to fix the bench files but I don't think it's a good use of time right now. These are just non-essential tests at the moment.

You can read more about benchmarks here:
https://github.com/JaredTate/digibyte/blob/develop/doc/benchmarking.md

The reality is they are performance benchmarks to gauge the code, which could be useful one day, but I think we have other priorities. A lot of the existing benchmark code would need to be rewritten for DGB's 5 algos. The BTC devs never even finished all the benchmarks for BTC.

What really matters when we make check are the qt GUI tests, wallet tests, and all the 470 unit test cases. Which now all pass with make check

Screenshot 2024-03-14 at 5 12 11 PM

@ycagel ycagel requested review from SmartArray, ycagel, digicontributer, gto90, j50ng and a user March 14, 2024 23:19
@ghost
Copy link

ghost commented Mar 14, 2024

make check only got one errors left after this pr.
Screenshot from 2024-03-15 00-27-22

Line: 88

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work ACK.

@JaredTate
Copy link
Author

JaredTate commented Mar 14, 2024

make check only got one errors left after this pr. Screenshot from 2024-03-15 00-27-22

Line: 88

Are you on the latest updated branch? I can't replicate that error at all.

Copy link
Member

@gto90 gto90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ghost
Copy link

ghost commented Mar 15, 2024

100% did new pull and add this pr. Plus build with new depends. Maybe because different compiler. We can approve this pr and look at it later.

Copy link
Member

@ycagel ycagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cACK

@ycagel ycagel merged commit 7d4666c into DigiByte-Core:develop Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants