This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import json | |
import os | |
import shlex | |
import subprocess as sp | |
import time | |
from contextlib import contextmanager | |
from pathlib import Path | |
from tempfile import TemporaryDirectory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ ./benchmark.py ~/src/CMake/build/compile_commands.json /home/tamas/projects/build-llvm/bin/clang-18 | |
Loading commands... | |
Benchmarking ProcessUNIX.c compilation... Mean: 0.045s | |
Benchmarking Base64.c compilation... Mean: 0.010s | |
Benchmarking Encodin |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-03-15 11:36:04.195 [info] (Client) Pylance async client (2024.2.3) started with python extension (2023.14.0) | |
2024-03-15 11:36:04.691 [info] [Info - 11:36:04 AM] (2125926) Pylance language server 2024.2.3 (pyright version 1.1.348, commit cfb1de0c) starting | |
2024-03-15 11:36:04.691 [info] [Info - 11:36:04 AM] (2125926) Server root directory: file:///home/tamas/.vscode/extensions/ms-python.vscode-pylance-2024.2.3/dist | |
2024-03-15 11:36:04.694 [info] [Info - 11:36:04 AM] (2125926) Starting service instance "llvmcraft" | |
2024-03-15 11:36:04.733 [info] [Info - 11:36:04 AM] (2125926) Setting pythonPath for service "llvmcraft": "/home/tamas/.local/share/hatch/env/virtual/knit/hPnSDupG/knit/bin/python" | |
2024-03-15 11:36:04.733 [info] [Info - 11:36:04 AM] (2125926) Setting environmentName for service "llvmcraft": "3.10.13 (knit venv)" | |
2024-03-15 11:36:04.734 [info] [Info - 11:36:04 AM] (2125926) Loading pyproject.toml file at /home/tamas/projects/llvmcraft/pyproject.toml | |
2024-03-15 11:36:04.736 [info] [Info - 11 |
OlderNewer