From 9a05f56e1bf36abab41d12f92f2c75266c44bd4a Mon Sep 17 00:00:00 2001 From: bigbear Date: Thu, 8 Feb 2024 19:52:52 +0100 Subject: Clean - HARDINFO2 BASE --- tools/populate.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 tools/populate.py (limited to 'tools/populate.py') 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())) - -- cgit v1.2.3