Simple source files and compiled JAR Java programs, for benchmark 50 000 000 cycle finding prime numbers. On Intel(R) Core(TM) i5-8600K CPU, Windows 10 20H2, i have 39 second on single core and 7,6 second on multi core. (PS: C++ multicore 6 second). Added C files for gcc compiler in Windows 10 and for Xcode C command line project in MacOS ( tested on Mac mini M2 with single core 16 to 25 sec and multicore 2,3 to 5 second by compiler -O switch). Surprise, same code in JavaScript for M2 chip in Safari, 12,5 sec single core and 3,3 sec multi core. Python version with numba and numpy on MacOS with M2, 3,78 sec.

Features

  • Prime numbers
  • Java
  • multicore
  • singlecore
  • C
  • C++
  • prime number
  • javascript
  • Python

Project Samples

Project Activity

See All Activity >

Categories

Exam

License

GNU General Public License version 3.0 (GPLv3)

Follow Prime number ( primenumbers )

Prime number ( primenumbers ) Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Prime number ( primenumbers )!

Additional Project Details

Operating Systems

Android, Apple iPhone, Linux, Mac, Windows

Languages

English

Intended Audience

Testers

User Interface

Command-line

Programming Language

C, C++, Java, JavaScript, Python

Related Categories

Python Exam Software, C++ Exam Software, C Exam Software, JavaScript Exam Software, Java Exam Software

Registered

2021-11-25