Questions tagged [performance]
For questions pertaining to the measurement or improvement of code and application efficiency.
performance
26,847
questions with no upvoted or accepted answers
46
votes
1
answer
3k
views
ExecuteRequestHandler spent most of the time
I'm working on some performance related tasks and using new relic to diagnose first.
Here is what I have got
I'm wondering is it possible to improve on the ExecuteRequestHandler part? Any help will ...
42
votes
1
answer
7k
views
How to resolve the BufferQueueProducer problem specifically on Android Q Pixel 3 and 3 XL devices, while Emulator works fine
I am using a surface texture view to display videos. The videos are shown in a carousel which is essentially a view pager.
I have already tried releasing the surface view on the surface gets destroyed ...
29
votes
0
answers
834
views
On Skylake (SKL) why are there L2 writebacks in a read-only workload that exceeds the L3 size?
Consider the following simple code:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <err.h>
int cpu_ms() {
return (int)(clock()...
17
votes
0
answers
1k
views
Costs of new AVX512 instruction - Scatter store
I'm playing around with the new AVX512 instruction sets and I try to understand how they work and how one can use them.
What I try is to interleave specific data, selected by a mask.
My little ...
17
votes
3
answers
3k
views
Azure SQL stored procedure ridiculously slow called from C#
Summary:
We have two identical databases, one on a local server, one on Azure.
We have a C# system that accesses these databases, calling stored procedures.
The stored procedures are running very, ...
16
votes
0
answers
269
views
RenderScript low performance on Samsung Galaxy S8
Context
I have an Android app that takes a picture, blurs the picture, removes the blur based on a mask and applies a final layer (not relevant). The last 2 steps, removing the blur based on a mask ...
16
votes
0
answers
2k
views
Slow Performance on HTTP PUT Calls via Chrome
I have an ASP.NET Web API that exposes all the verbs - the methods are basically empty.
To run the project, you can do this: spin up a new asp.net web project from VS 2017 - then choose Web API. ...
16
votes
1
answer
4k
views
What is regularInterceptedExpression in angular?
During debugging of my ng-app I've find out that most time of $digest takes regularInterceptedExpression. The question is, what is causes of triggering it?
16
votes
1
answer
3k
views
AEM performance issues (slow memory leak) org.slf4j.helpers.BasicMarker and org.slf4j.helpers.BasicMarkerFactory
I am currently using the Adobe Experience Manager (AEM also known as CQ) for a Client's site (Java platform). It uses OpenJDK:
java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-2.5.1.2.el6_5-...
16
votes
0
answers
736
views
Accessing performance counters through a cluster
I am trying to find how to make performance monitoring available over a cluster, and I can't find seem to find anything while searching other than how to access performance counters for a cluster.
...
15
votes
2
answers
5k
views
High CPU Usage in React-Native
I'm working to reduce the CPU load on an RN app. I've built the app to a device, in release, and trimmed the console logs from the project. Even after doing this, the app is still around 33% CPU usage ...
15
votes
2
answers
2k
views
Android Studio: aapt.exe create too many processes and makes Android Studio very slow
This is my very first question on this website, so I apologize for any mistakes I do in this question.
Well to get to the point:
I currently have this problem with Android Studio, that it gets very ...
15
votes
4
answers
1k
views
Fragment caching and eager loading: How to get the best of both worlds?
It seems to me that fragment caching and eager loading are -- at least sometimes -- somewhat at odds with each other. Let's say I have a User who has many posts which each has many comments which in ...
14
votes
0
answers
7k
views
Determine TSC frequency on Linux
Given an x86 with a constant TSC, which is useful for measuring real time, how can one convert between the "units" of TSC reference cycles and normal human real-time units like nanoseconds using the ...
14
votes
1
answer
2k
views
PyCharm autocomplete slow
Autocomplete is slow for some python modules, for example for numpy:
https://www.youtube.com/watch?v=gcAjEElSUCc
It usually takes a second or two for autocomplete to start showing possible ...