<commit_before><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>How fast is setTimeout really?</title>
	<style>
		body {
			font-family: Helvetica, Arial, sans-serif;
			text-align: center;
		}
		.num {
			font-weight: bold;
		}
	</style>
</head>
<body>
	<h1>How Fast is setTimeout in Your Browser?</h1>
	<p id="target">Please wait, running tests...<br />
		<img src="/static/img/ajax-loader.gif" /></p>
	<p>This test discovers the <em>real</em> delay when using <code>setTimeout(fn, 0)</code>, which is never actually 0.</p>
	<script type="text/javascript">
		var target = document.getElementById("target"),
			results = 0,
			iterations = 1000,
			i = 0;
		
		function go() {
			var fn = function () {
					results += new Date().getTime() - d;<commit_msg>added author credit<commit_after><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>How fast is setTimeout really?</title>
	<style>
		body {
			font-family: Helvetica, Arial, sans-serif;
			text-align: center;
		}
		.num {
			font-weight: bold;
		}
	</style>
</head>
<body>
	<h1>How Fast is setTimeout in Your Browser?</h1>
	<p id="target">Please wait, running tests...<br />
		<img src="/static/img/ajax-loader.gif" /></p>
	<p>This test discovers the <em>real</em> delay when using <code>setTimeout(fn, 0)</code>, which is never actually 0.</p>
	<p>Test whipped up by <NAME>, who has a blog at <a href="http://www.adequatelygood.com">AdequatelyGood.com</a>.</p>
	<script type="text/javascript">
		var target = document.getElementById("target"),
			results = 0,
			iterations = 1000,
			i = 0;
		
		function go() {
			var fn = function () {
					results += new Date().getTime() - d;
{'fraction_non_alphanumeric': 0.17816436712657469, 'fraction_numerical': 0.013197360527894421, 'mean_word_length': 3.557377049180328, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 54, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5699733', 'n_tokens_mistral': 677, 'n_tokens_neox': 591, 'n_words': 163}