Documentation

Understanding Enhancement Levels

Deep dive into Epochly's progressive enhancement system.

Overview

LevelNameMechanismBenefit
0MonitorProfilingBaseline metrics
1ThreadingThread poolI/O concurrency
2JITCompilationCPU loop speedup
3FullParallelismMulti-core utilization
4GPUCUDAMassive parallelism

Automatic Progression

Start at Level 0 (Monitor)
Detect I/O-bound → Level 1
Detect CPU-bound loops → Level 2
Detect parallelizable work → Level 3
Detect large arrays + GPU → Level 4

Performance Characteristics

LevelBest ForTypical Speedup
0Profiling1x (baseline)
1I/O-bound tasks~1.0x
2JIT Compilation58–193x
3Heavy CPU parallel8–12x
4GPU array operations7–70x

Fallback Conditions

LevelFallback ConditionFalls Back To
4No GPU availableLevel 3
3Too few data itemsLevel 2
2JIT compilation failsLevel 1
1Threading overhead too highLevel 0