Initial implementation of blender benchmark addon

Just some glue logic to query progress and results from benchmark.

Needed to move files around, so oth standalone and addon are happy.
This commit is contained in:
2018-08-02 17:38:10 +02:00
parent de682f8e8e
commit 7f42fdf5e8
40 changed files with 391 additions and 8998 deletions

View File

@@ -6,8 +6,8 @@ import subprocess
import sys
# Usually comes from third_party
import cpuinfo
import cpu_cores
from .third_party import cpuinfo
from .third_party import cpu_cores
def _getBlenderDeviceInfo(ctx):
@@ -38,7 +38,7 @@ def getBlenderVersion(ctx):
"build_commit_date",
"build_commit_time",
"build_hash")
command = [ctx.blender, "--version"]
command = [ctx.blender, "--background", "--version"]
process = subprocess.Popen(command,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)