Remove Cache Remove Code Remove Example
article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

Caching them at the other end: How long should we cache files on a user’s device? In our specific examples above, the one-big-file pattern incurred 201ms of latency, whereas the many-files approach accumulated 4,362ms by comparison. Cache This is the easy one. And do any of our previous decisions dictate our options? ?

Cache 338
article thumbnail

Seeing through hardware counters: a journey to threefold performance increase

The Netflix TechBlog

We also see much higher L1 cache activity combined with 4x higher count of MACHINE_CLEARS. a usage pattern occurring when 2 cores reading from / writing to unrelated variables that happen to share the same L1 cache line. Cache line is a concept similar to memory page?—? Thread 0’s cache in this example.

Hardware 363
Insiders

Sign Up for our Newsletter

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

article thumbnail

Progressive delivery at cloud scale: Optimizing CPU intensive code with Dynatrace

Dynatrace

This is a great example of how valuable Dynatrace is for diagnosing performance or scalability issues, and a great testimony that we at Dynatrace use our own product and its various capabilities across our globally distributed systems. And the code-level root cause information is what makes troubleshooting easy for developers.

Code 245
article thumbnail

Netflix Android and iOS Studio Apps?—?now powered by Kotlin Multiplatform

The Netflix TechBlog

You only need to write platform-specific code where it’s necessary, for example, to implement a native UI or when working with platform-specific APIs. Almost 50% of the production code in our Android and iOS apps is decoupled from the underlying platform. Debugging Kotlin source code from Xcode.

Mobile 280
article thumbnail

Code-level observability for Flutter apps drives great user experience

Dynatrace

When Davis detects deviations from this baseline (for example, a sudden dip in usage or a user action that lasts longer than expected), it generates a problem event , identifies the root cause of the problem, and sends notifications based on the configured alerting profile. OneAgent for mobile apps is specific to iOS and Android.

Code 184
article thumbnail

Self-Host Your Static Assets

CSS Wizardry

A classic example is jQuery, that we might link to like so: There are a number of perceived benefits to doing this, but my aim later in this article is to either debunk these claims, or show how other costs vastly outweigh them. Users might already have the file cached. Penalty: Caching. Myth: Cross-Domain Caching.

Cache 275
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