isosweep Evaluate
Thickness contours of a 300 mm wafer map with its die grid
On a 2048 × 2048 process-variation field isosweep extracts all contour lines in 12.4 ms on one core — 12× faster than the fastest single-threaded open-source engine — and it classifies thousands of contact and via rings as it goes.
11×
vs fastest open-source, log-scale doping profile
2.6×
vs fastest open-source, 2,000+ contact rings
6.5×
vs fastest open-source, CMP map at 50 levels

The problem

Contours are everywhere in a fab’s software, and a lot of them are hidden in in-house code:

  • OPC / computational lithography: aerial-image and resist fields at dose and focus corners are contoured into process-variation bands, full chip.
  • Contact and via arrays: thousands of small closed rings per field, each of which must be classified correctly (feature vs space).
  • Wafer maps: CMP thickness, CD uniformity and overlay maps contoured at many levels for every lot.
  • TCAD: doping and potential profiles that span orders of magnitude, contoured on log scales.

The commercial EDA suites (Siemens Calibre, Synopsys S-Metro and others) include contour extraction but don’t license it as a component or publish comparable figures. Analytics teams therefore fall back on ContourPy, matplotlib or VTK. Those are the tools we measure against here, using synthetic fields that mimic each workload because production data is proprietary.

Head-to-head

Semiconductor-style fields (deterministic synthetic, reproducible from the catalog)
Dataset Grid · levels isosweep1 thread isosweep16 threads ContourPy1 threadVTK Flying Edges1 threadGDAL 3.14-dev1 threadContourPy32 threadsVTK Flying Edges16 threads Speed-upvs fastest 1-thread Speed-upvs fastest overall
OPC line/space process-variation band 2,048 × 2,048 · 9 12.4 ms 4.73 ms 157 ms 152 ms 159 ms 18.6 ms 77.1 ms 12× 3.9×
Contact array closed-curve topology 1,024 × 1,024 · 9 17.7 ms 4.39 ms 46.6 ms 114 ms 98.5 ms 10.2 ms 76.2 ms 2.6× 2.3×
TCAD doping log-scale dynamic range 512 × 512 · 11 levels (interval 1.25) 0.51 ms 0.42 ms 11.2 ms 5.54 ms 5.50 ms 5.31 ms 2.96 ms 11× 7.0×
CMP wafer thickness many-level 1,024 × 1,024 · 50 8.65 ms 2.61 ms 212 ms 198 ms 57.0 ms 50.2 ms 47.3 ms▲ 6.6× 18×

Median wall-clock time per full extraction, in-process, identical in-memory grid and iso-levels for every tool, each in its fastest documented configuration; lower is better. All line tools return assembled polylines. "Fastest overall" compares our best (1 or 16 threads) with the best result of any other library at any thread count; the shaded cell is that library. Measured November 2026 on Intel(R) Xeon(R) Platinum 8488C (48 cores / 96 threads) — AWS EC2 c7i.metal-24xl (dedicated bare-metal server, no hypervisor); Linux-7.0.0-1018-aws-x86_64-with-glibc2.39; turbo disabled; governor performance; THP never. ▲ marks a time that varied more than 5% from run to run; it is used as measured. Methodology.

Exact configuration of each library
  • ContourPy (serial) — variant serial_reused {"name": "serial", "line_type": "LineType.ChunkCombinedOffset", "reuse_generator": true}
  • VTK Flying Edges (1 thread) — vtkImageData + filter pipeline built in prepare (zero-copy wrap, O(1)). vtkStripper joins segments into polylines (required for like-for-like output; MaximumLength unlimited so lines are fully joined) and is timed. variant sequential {"backend": "Sequential", "threads": 1}
  • GDAL 3.14-dev (master) — Both versions built from source with identical options. callback = pure computation, points copied into a result buffer (as any caller must); generate_ex = native API into an in-memory layer (native result type), the layer reset before each call outside the clock. Published value = faster of the two. variant generate_ex {"api": "GDALContourGenerateEx (in-memory layer)"}
  • ContourPy (threaded, best threads × chunks) — variant threaded_reused {"name": "threaded", "line_type": "LineType.ChunkCombinedOffset", "thread_count": 8, "chunk_count": [4, 4], "reuse_generator": true}
  • VTK Flying Edges (best SMP backend × threads) — vtkImageData + filter pipeline built in prepare (zero-copy wrap, O(1)). vtkStripper joins segments into polylines (required for like-for-like output; MaximumLength unlimited so lines are fully joined) and is timed. variant smp {"backend": "STDThread", "threads": 4}

What matters here besides speed

  • Classification you can trust. Each closed ring is labelled from the field gradient (enclosing higher or lower values), not from ring orientation, which breaks easily when rings are assembled in arbitrary order.
  • Repeatability. Identical output on every run for the same input and settings, so results reproduce across a compute farm.
  • Embeddable. A small C library with a plain C ABI, linkable into C++ EDA code, Python analytics or a metrology appliance. Source escrow and custom integration are available under enterprise terms.

Run it on your own data

Evaluations include the SDK binaries, the CLI and the benchmark harness used on this page, so you can reproduce these numbers on your hardware and then on your data.

Other use cases