Skip to content

Instantly share code, notes, and snippets.

# Run complete. Total time: 00:21:44
REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
experiments, perform baseline and negative tests that provide experimental control, make sure
the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
Do not assume the numbers tell you what you want them to tell.
Benchmark (value) Mode Cnt Score Error Units
PointBenchmark.benchmarkNewPoint 2318793235476 thrpt 40 73993972.342 ± 643433.022 ops/s
@J0s3f
J0s3f / collage.py
Created October 22, 2025 20:43
Collagen erstellen aus Fotos im Ordner
import os
import pillow_heif
from PIL import Image, ImageChops
pillow_heif.register_heif_opener()
directory = 'D:\\fotos\\klein'
output_dir = 'D:\\fotos\\collagen'
canvas_size = 5000
@J0s3f
J0s3f / aspect_sort.py
Created October 22, 2025 20:44
Sort images by aspect ratio
import os
import shutil
import pillow_heif
from PIL import Image
# HEIC-Unterstützung aktivieren
pillow_heif.register_heif_opener()
# Verzeichnisse
directory = 'D:\\fotos\\groß'