Skip to content

Commit

Permalink
Add website data to benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
IronOxidizer committed Oct 29, 2023
1 parent 93426de commit faecced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Toolkit:
startup: int = -1
executable_size: int = -1
dependencies_size: int = -1
website: str = ""

def print_debug(e):
print("Build errored:")
Expand Down Expand Up @@ -52,6 +53,7 @@ def print_debug(e):
metadata = json.load(f)
if "mode" in metadata: toolkit.mode = metadata["mode"]
if "platform_lib" in metadata: toolkit.platform_lib = metadata["platform_lib"]
if "website" in metadata: toolkit.website = metadata["website"]

toolkits.append(toolkit)
print(f"Found {len(toolkits)} toolkits")
Expand Down
File renamed without changes.

0 comments on commit faecced

Please sign in to comment.