article thumbnail

Radically speed up your code by fixing slow or frequent garbage collection

Dynatrace

Optimize your code by finding and fixing the root cause of garbage collection problems. These details arm you with the knowledge necessary to find the respective code and remove unnecessary allocations. Any significant reduction in allocations will inevitably speed up your code. You can even look at the source code directly. .

Speed 166
article thumbnail

The road to observability with OpenTelemetry demo part 1: Identifying metrics and traces

Dynatrace

But its underlying goal is quite humble and straightforward: it wants to enable you to observe an IT system (for example, a web application, infrastructure, or services) and gain insight to its behavior, such as performance, error rates, hot spots of executed instructions in code, and more. Those are prime candidates for their own spans.

Metrics 182
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Increase the Performance of your Site with Lazy-Loading and Code-Splitting

Jos

We are explicit about our dependencies, so we know what code we need to run to run a specific component. Lazy-loading and bundle splitting can have a huge impact on page performance: less code requested, parsed, and executed. When you send the user code that is not needed, you waste resources from your end, and from the user’s end.

Code 147
article thumbnail

Increase the Performance of your Site with Lazy-Loading and Code-Splitting

Jos

We are explicit about our dependencies, so we know what code we need to run to run a specific component. Lazy-loading and bundle splitting can have a huge impact on page performance: less code requested, parsed, and executed. When you send the user code that is not needed, you waste resources from your end, and from the user’s end.

Code 130
article thumbnail

Measure What You Impact, Not What You Influence

CSS Wizardry

What if another file on the critical path had dropped out of cache and needed fetching from the network? We can take reasonable measures (always refresh from a cold cache; throttle to a constant network speed), but we can’t account for everything. What if we incurred a DNS lookup this time that we hadn’t the previous time?

article thumbnail

Breaking Down Bulky Builds With Netlify And Next.js

Smashing Magazine

Without build optimizations (incremental builds, caching, we will get to those soon) this will eventually become unmanageable as well — think about going through all images in a website: resizing, deleting, and/or creating new files over and over again. It is not possible to ship code incrementally.

Cache 129
article thumbnail

Book Review: PostgreSQL 14 Internals by Egor Rogov

Percona

This book has five major sections on MVCC and Isolation (108 pages), Buffer Cache and WAL (53 pages), Locks (42 pages), Query Execution (154 pages), and the types of indexes (127 pages). The illustrations are clear, and there are many reference pointers to the documentation or source code where needed.

Cache 87