Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7036407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:25:13+00:00 2026-05-28T01:25:13+00:00

My processor runs at 2.0 GHz. I have a new computer with as much

  • 0

My processor runs at 2.0 GHz.

I have a new computer with as much software removed as possible except my development tools. This system is clean with no malware.

When I run the code below I get about 2M loops per second. That is about 1 MHz.

Suppose doing and addition, and doing a compare takes 10x the simplest operation, I get about 10 MHz

Why do I not get more utilization of my processor?

var Utility = 
{
    time: function() 
    {
        var end_time,
            start_time,
            index = 0;

        start_time = new Date().getTime();

        while ( index <= 1000000 )
        {
            index++;
        }

        end_time = new Date().getTime();

    return ( end_time - start_time);
    }
};
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:25:14+00:00Added an answer on May 28, 2026 at 1:25 am

    This is not really about JavaScript – it’s more about the browser and the way it’s handling JavaScript.

    Each browser is doing this differently, but most modern browsers won’t let JavaScript take 100% of the resources to prevent the client machine from crashing.

    Bottom line you can’t do such thing with client side scripting, you’ll have to use “real” application with full access to the computer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that runs on an embedded processor (ARM), and I'd like
Lets assume that I have a computer which has a multicore processor and a
So I made an app, And it runs on all possible platforms except the
I have this weird question. I would like to know if it is possible
Imagine I have the following code that runs as a background processor for an
I have a form showing progress messages as a fairly long process runs. It's
We have a feed process which runs every day of the year. As part
I have a process that currently runs in a Delphi application that I wrote
I am writing a windows service. This service runs another process I've developed through
Considering that a processor runs at 100 MHz and the data is coming to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.