Tag

Optimization

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Mar 28, 2022 · Fundamentals

Go Performance Optimization: Data Structures, Memory Management, and Benchmarking

The guide details Go performance optimization techniques—including avoiding reflection‑based conversions, using proper capacity hints, preferring strconv over fmt, employing custom binary functions, optimizing string handling, struct layout, loop patterns, and sync.Pool reuse—backed by benchmarks that demonstrate significant speed and memory gains.

BenchmarkGoOptimization
0 likes · 37 min read
Go Performance Optimization: Data Structures, Memory Management, and Benchmarking
DeWu Technology
DeWu Technology
Dec 23, 2021 · Frontend Development

Canvas Performance Optimization Techniques

Canvas performance hinges on the number and size of drawn shapes, so optimizing by reducing draw‑calls, using layered or clipped rendering, and offloading heavy drawing to OffscreenCanvas or Web Workers can preserve frame rates and keep the UI responsive.

CanvasJavaScriptOffscreenCanvas
0 likes · 15 min read
Canvas Performance Optimization Techniques
DeWu Technology
DeWu Technology
Dec 16, 2021 · Frontend Development

Canvas Performance Optimization Techniques

Optimizing HTML5 canvas performance involves reducing draw calls, using layered and clipped rendering, performing quick bounding‑box checks, and offloading heavy drawing to OffscreenCanvas with Web Workers, enabling smooth animation even when thousands of shapes are rendered.

CanvasJavaScriptOffscreenCanvas
0 likes · 14 min read
Canvas Performance Optimization Techniques