Skip to content

Instantly share code, notes, and snippets.

@StarlightIbuki
StarlightIbuki / planner.sh
Created September 30, 2025 09:29
find commits in between to test
#!/usr/bin/env fish
set start_commit $argv[1]
set end_commit $argv[2]
set output_path $argv[3]
set count $argv[4]
if test -z "$count"
set count 5
end
@StarlightIbuki
StarlightIbuki / plot.py
Created September 26, 2025 08:32
Perf Plot
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Performance Analysis Tool for CSV Data
This script processes CSV files for both RPS and Memory performance data:
- RPS files: 'wrk-<hash>-<batch>-<num>.csv' with requests per second data
- Memory files: 'docker-<hash>-<batch>-<num>.csv' with memory usage data in format '<hash>,<test_env>,993.90%,4.385GiB / 62.72GiB'
(memory values are converted from GiB to MiB for analysis and plotting)