aboutsummaryrefslogtreecommitdiff
path: root/tools/populate.py
diff options
context:
space:
mode:
authorbigbear <ns@bigbear.dk>2024-02-08 19:52:52 +0100
committerbigbear <ns@bigbear.dk>2024-02-08 19:52:52 +0100
commit9a05f56e1bf36abab41d12f92f2c75266c44bd4a (patch)
treef9ac600d137939dd484732515363a2337bdc6535 /tools/populate.py
parent0f5dea06fa62062c7e98b36945a63aae7835a80a (diff)
Clean - HARDINFO2 BASE
Diffstat (limited to 'tools/populate.py')
-rwxr-xr-xtools/populate.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/populate.py b/tools/populate.py
deleted file mode 100755
index 4c9f9440..00000000
--- a/tools/populate.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/python
-
-import requests
-import json
-import sys
-
-for benchmark, results in json.load(sys.stdin).items():
- for result in results:
- print('Populating: %s, %s' % (benchmark, result['MachineId']))
-
- if not result.get('Legacy', True):
- if not 'PointerBits' in result: result['PointerBits'] = 64
-
- r = requests.post('http://localhost:1234/benchmark.json', json={benchmark: result})
- if not r.ok:
- raise IOError("%s %d (%s)" % (r.reason, r.status_code, r.text.strip()))
-