-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/kreier/prime
- Loading branch information
Showing
76 changed files
with
199 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Calculating prime numbers in Arduino C v2.0.2022 | ||
2023/12/12 | ||
ESP8266 with 80 MHz | ||
|
||
last time in seconds | ||
100 0.001859 | ||
1,000 0.040104 | ||
10,000 0.905273 | ||
100,000 21.511326 | ||
1,000,000 538.199219 | ||
10,000,000 14038.631 - 3h 53min 58s | ||
25,000,000 51894.422 - 14h 24min 54s | ||
100,000,000 1h 3% 2h 6% - 40h? | ||
1,000,000,000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.0.1991 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000000000 took 275399620702.2 microseconds. | ||
Found 50847534 primes. Should be 50847534. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary of prime v1.0.1991 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
last time in microseconds | ||
100 112.7 | ||
1000 1532.2 | ||
10000 34118.4 | ||
100000 633776.6 | ||
1000000 15135554.7 | ||
10000000 377564319.7 | ||
25000000 1380046016.5 | ||
100000000 10134258478.1 | ||
1000000000 275399620702.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000000000 took 279719653319.8 microseconds. | ||
Found 50847534 primes. Should be 50847534. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary of prime v1.1.2000 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
last time in microseconds | ||
100 97.1 | ||
1000 1499.0 | ||
10000 26655.7 | ||
100000 620664.8 | ||
1000000 14439110.4 | ||
10000000 385969817.4 | ||
25000000 1409575020.3 | ||
100000000 10275299882.4 | ||
1000000000 279719653319.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 100 took 235.6 microseconds. | ||
Found 25 primes. Should be 25. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 1000 took 2214.9 microseconds. | ||
Found 168 primes. Should be 168. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 10000 took 25632.3 microseconds. | ||
Found 1229 primes. Should be 1229. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 100000 took 575529.8 microseconds. | ||
Found 9592 primes. Should be 9592. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 1000000 took 14574511.4 microseconds. | ||
Found 78498 primes. Should be 78498. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 10000000 took 394983498.0 microseconds. | ||
Found 664579 primes. Should be 664579. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 100000000 took 10672338771.5 microseconds. | ||
Found 5761455 primes. Should be 5761455. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 1000000000 took 268350361238.9 microseconds. | ||
Found 50847534 primes. Should be 50847534. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
Primes to 25000000 took 1491171293.7 microseconds. | ||
Found 1565927 primes. Should be 1565927. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary of prime v1.1.2000 in python | ||
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz | ||
last time in microseconds | ||
100 235.6 | ||
1000 2214.9 | ||
10000 25632.3 | ||
100000 575529.8 | ||
1000000 14574511.4 | ||
10000000 394983498.0 | ||
25000000 1491171293.7 | ||
100000000 10672338771.5 | ||
1000000000 268350361238.9 or 74h 32min 30s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v2.0.2022 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000000000 took 108768467297.8 microseconds. | ||
Found 50847534 primes. Should be 50847534. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary of prime v2.0.2022 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
last time in microseconds | ||
100 95.7 | ||
1000 914.2 | ||
10000 26298.9 | ||
100000 245950.8 | ||
1000000 5466198.8 | ||
10000000 138095740.0 | ||
25000000 509184156.6 | ||
100000000 3682180884.3 | ||
1000000000 108768467297.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prime v3.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000000000 took 68709592815.0 microseconds. | ||
Found 50847534 primes. Should be 50847534. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary of prime v3.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
last time in microseconds | ||
100 85.1 | ||
1000 755.6 | ||
10000 14408.2 | ||
100000 181539.7 | ||
1000000 3815344.1 | ||
10000000 85336841.4 | ||
25000000 315633984.6 | ||
100000000 2190772686.6 | ||
1000000000 68709592815.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 100 took 494986.5 microseconds. | ||
Primes to 100 took 600634.8 microseconds. | ||
Found 25 primes. Should be 25. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000 took 445877.9 microseconds. | ||
Primes to 1000 took 425177.1 microseconds. | ||
Found 168 primes. Should be 168. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 10000 took 438641.6 microseconds. | ||
Found 1229 primes. Should be 1229. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 100000 took 466354.2 microseconds. | ||
Found 9592 primes. Should be 9592. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000000 took 1113699.1 microseconds. | ||
Found 78498 primes. Should be 78498. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 10000000 took 14873092.0 microseconds. | ||
Found 664579 primes. Should be 664579. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 100000000 took 294817230.3 microseconds. | ||
Found 5761455 primes. Should be 5761455. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 1000000000 took 7516578047.4 microseconds. | ||
Found 50847534 primes. Should be 50847534. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
Primes to 25000000 took 49906119.8 microseconds. | ||
Found 1565927 primes. Should be 1565927. | ||
We used 16 parallel processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Summary of prime v4.0.2023 in python | ||
Intel(R) Xeon(R) CPU X5550 @ 2.67GHz | ||
last time in microseconds | ||
100 600634.8 | ||
1000 425177.1 | ||
10000 438641.6 | ||
100000 466354.2 | ||
1000000 1113699.1 | ||
10000000 14873092.0 | ||
25000000 49906119.8 | ||
100000000 294817230.3 | ||
1000000000 7516578047.4 |