Skip to content

Commit 4a8d44b

Browse files
committed
Updates
1 parent c0d7135 commit 4a8d44b

3 files changed

Lines changed: 26 additions & 132 deletions

File tree

Lines changed: 3 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,12 @@
11
{
22
"machine_info": {
3-
"node": "fh.lan",
4-
"processor": "i386",
5-
"machine": "x86_64",
6-
"python_compiler": "Clang 14.0.0 (clang-1400.0.29.202)",
73
"python_implementation": "CPython",
8-
"python_implementation_version": "3.14.2",
94
"python_version": "3.14.2",
10-
"python_build": [
11-
"main",
12-
"Jan 30 2026 00:20:31"
13-
],
14-
"release": "21.6.0",
155
"system": "Darwin",
16-
"cpu": {
17-
"python_version": "3.14.2.final.0 (64 bit)",
18-
"cpuinfo_version": [
19-
9,
20-
0,
21-
0
22-
],
23-
"cpuinfo_version_string": "9.0.0",
24-
"arch": "X86_64",
25-
"bits": 64,
26-
"count": 4,
27-
"arch_string_raw": "x86_64",
28-
"vendor_id_raw": "GenuineIntel",
29-
"brand_raw": "Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz",
30-
"hz_advertised_friendly": "2.2000 GHz",
31-
"hz_actual_friendly": "2.2011 GHz",
32-
"hz_advertised": [
33-
2200000000,
34-
0
35-
],
36-
"hz_actual": [
37-
2201139452,
38-
0
39-
],
40-
"l2_cache_size": 65536,
41-
"l2_cache_line_size": 256,
42-
"l2_cache_associativity": 6,
43-
"stepping": 4,
44-
"model": 61,
45-
"family": 6,
46-
"flags": [
47-
"3dnowprefetch",
48-
"abm",
49-
"acpi",
50-
"adx",
51-
"aes",
52-
"apic",
53-
"avx",
54-
"avx2",
55-
"bmi1",
56-
"bmi2",
57-
"clflush",
58-
"cmov",
59-
"cx16",
60-
"cx8",
61-
"de",
62-
"ds_cpl",
63-
"dtes64",
64-
"dts",
65-
"erms",
66-
"est",
67-
"f16c",
68-
"fma",
69-
"fpu",
70-
"fxsr",
71-
"hle",
72-
"ht",
73-
"intel_pt",
74-
"invpcid",
75-
"lahf_lm",
76-
"mca",
77-
"mce",
78-
"mmx",
79-
"monitor",
80-
"movbe",
81-
"msr",
82-
"mtrr",
83-
"osxsave",
84-
"pae",
85-
"pat",
86-
"pbe",
87-
"pcid",
88-
"pclmulqdq",
89-
"pdcm",
90-
"pge",
91-
"pni",
92-
"popcnt",
93-
"pse",
94-
"pse36",
95-
"rdrnd",
96-
"rdseed",
97-
"rtm",
98-
"sep",
99-
"smap",
100-
"smep",
101-
"smx",
102-
"ss",
103-
"sse",
104-
"sse2",
105-
"sse4_1",
106-
"sse4_2",
107-
"ssse3",
108-
"tm",
109-
"tm2",
110-
"tsc",
111-
"tscdeadline",
112-
"vme",
113-
"vmx",
114-
"x2apic",
115-
"xsave",
116-
"xtpr"
117-
]
118-
}
6+
"machine": "x86_64"
1197
},
1208
"commit_info": {
121-
"id": "365776057bd5006712c2e850502fe3d4a64e6ab1",
122-
"time": "2026-03-04T06:51:28-05:00",
123-
"author_time": "2026-03-04T06:51:28-05:00",
124-
"dirty": false,
125-
"project": "ioc-finder",
126-
"branch": "python-upgrade"
9+
"project": "ioc-finder"
12710
},
12811
"benchmarks": [
12912
{
@@ -199,4 +82,4 @@
19982
],
20083
"datetime": "2026-03-05T12:20:54.781640+00:00",
20184
"version": "5.2.3"
202-
}
85+
}

.github/workflows/python-publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- name: Ensure tag commit is on main
21+
run: |
22+
git fetch origin main
23+
git merge-base --is-ancestor "$GITHUB_SHA" origin/main
1824
- name: Set up Python
19-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v5
2026
with:
2127
python-version: '3.x'
2228
- name: Install dependencies

.github/workflows/windows-benchmark-baseline.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Generate Windows Benchmark Baseline
22

33
on:
4+
push:
5+
branches:
6+
- python-upgrade
47
workflow_dispatch:
58
inputs:
69
python_version:
@@ -20,14 +23,16 @@ permissions:
2023
jobs:
2124
windows_benchmark_baseline:
2225
runs-on: windows-latest
26+
env:
27+
PYTHON_VERSION: ${{ github.event.inputs.python_version || '3.14' }}
2328

2429
steps:
2530
- uses: actions/checkout@v4
2631

27-
- name: Set up Python ${{ inputs.python_version }}
32+
- name: Set up Python ${{ env.PYTHON_VERSION }}
2833
uses: actions/setup-python@v5
2934
with:
30-
python-version: ${{ inputs.python_version }}
35+
python-version: ${{ env.PYTHON_VERSION }}
3136

3237
- name: Install dependencies
3338
run: |
@@ -39,7 +44,7 @@ jobs:
3944
run: |
4045
pytest -c "." --benchmark-storage=.benchmarks/ --benchmark-save=benchmark tests/benchmarks.py
4146
42-
$benchDir = ".benchmarks/Windows-CPython-${{ inputs.python_version }}-64bit"
47+
$benchDir = ".benchmarks/Windows-CPython-${{ env.PYTHON_VERSION }}-64bit"
4348
if (-not (Test-Path $benchDir)) {
4449
throw "Benchmark directory not found: $benchDir"
4550
}
@@ -56,16 +61,16 @@ jobs:
5661
- name: Upload benchmark baseline artifact
5762
uses: actions/upload-artifact@v4
5863
with:
59-
name: windows-cpython-${{ inputs.python_version }}-benchmark-baseline
60-
path: .benchmarks/Windows-CPython-${{ inputs.python_version }}-64bit/0001_benchmark.json
64+
name: windows-cpython-${{ env.PYTHON_VERSION }}-benchmark-baseline
65+
path: .benchmarks/Windows-CPython-${{ env.PYTHON_VERSION }}-64bit/0001_benchmark.json
6166

6267
- name: Create pull request with baseline
63-
if: ${{ inputs.open_pr }}
68+
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.open_pr == 'true' }}
6469
uses: peter-evans/create-pull-request@v6
6570
with:
66-
commit-message: Add Windows benchmark baseline for Python ${{ inputs.python_version }}
67-
title: Add Windows benchmark baseline for Python ${{ inputs.python_version }}
71+
commit-message: Add Windows benchmark baseline for Python ${{ env.PYTHON_VERSION }}
72+
title: Add Windows benchmark baseline for Python ${{ env.PYTHON_VERSION }}
6873
body: Generated by workflow_dispatch in windows-benchmark-baseline.yml.
69-
branch: chore/windows-benchmark-baseline-py${{ inputs.python_version }}
74+
branch: chore/windows-benchmark-baseline-py${{ env.PYTHON_VERSION }}
7075
add-paths: |
71-
.benchmarks/Windows-CPython-${{ inputs.python_version }}-64bit/0001_benchmark.json
76+
.benchmarks/Windows-CPython-${{ env.PYTHON_VERSION }}-64bit/0001_benchmark.json

0 commit comments

Comments
 (0)