javascript – SetInterval is slow! Is the query slipping or is the script incorrect?

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css”> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js”></script> <script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js”></script> <script src=”https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js”></script> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <style> * { box-sizing: border-box; } .column1 { vertical-align:baseline; display: block; margin-left: auto; margin-right: 0px; float: left; width: 50%; padding: 0px; height: 350px; } .column2 { vertical-align:baseline; display: block; margin-left: … Read more