Skip to main content

Questions tagged [performance]

For questions pertaining to the measurement or improvement of code and application efficiency.

0 votes
0 answers
17 views

Improving performance of contains method in ASP.NET MVC web application with large dataset

I have an ASP.NET MVC web application using C#, Visual Studio, and SQL Server. This is my code: if (!string.IsNullOrEmpty(Name)) { query = query.Where(x => x.PatientName.Contains(Name)); } The ...
hud. 's user avatar
  • 170
2 votes
1 answer
58 views

Run time depends on code after the measured part

Consider the following C++23 program (online). #include <chrono> #include <cstdio> #include <print> constexpr size_t NWrites = 10000000000; #define DEST_STORAGE static #define ...
Dr. Gut's user avatar
  • 2,693
0 votes
0 answers
10 views

How Can I Achieve SVG Design with Canvas Performance in a React Application?

I'm developing a React application that needs to render a large number of elements. I've implemented the rendering using both and . Canvas: Provides excellent performance and smooth rendering. SVG: ...
user26132048's user avatar
0 votes
0 answers
6 views

How to get a list of slow mobile web pages without testing page by page?

Our website passes the desktop pagespeed insight test but the mobile version always fails it. We saw the detailed report of LCP failures. But how can we find out which were those slow pages dragging ...
Manhattan Elite Prep's user avatar
0 votes
0 answers
18 views

Optimizing Code with Bitwise Operators : How Does That Really Work?

How do bitwise operators (like AND, OR, XOR, left shift, and right shift) manipulate binary data at the bit level, and what are some practical examples of their usage in optimizing code performance or ...
Prinan-99's user avatar
0 votes
1 answer
12 views

How to send multiple requests at once by only 1 Thread in Jmeter

I'm new to JMeter, and I want to create a JMeter script for the below scenario. Thread count - 1 Requests count - 50 Here the requirement is to invoke all these 50 requests by using only one Thread ...
TTDS's user avatar
  • 104
-3 votes
0 answers
10 views

Do IoT devices have hardware performance counters (HPC)? [closed]

Are HPC easily accessible or must 3rd party applications be used with special device/root permissions set? How/will it be feasible to collect these HPC values for IoT devices?
S.H's user avatar
  • 131
0 votes
0 answers
36 views

How to make this delete statement more efficient?

I have a couple of tables. Table_1 looks like this: Customer | Offer ---------|------ 1 | A 1 | B 1 | C 2 | A 2 | C 3 | A Table_2 looks like this: Customer | ...
SRJCoding's user avatar
  • 431
0 votes
1 answer
24 views

K Means taking a long time to run

I have a dataset that has 3 million records with 15 columns that I'm using for customer segmentation. I've used KMeans and MiniBatchKMeans but it's running even after 45 hours (did not run them ...
Ayushman Mishra's user avatar
-3 votes
0 answers
9 views

Same mobile same sim same file downloading but different speed [closed]

I have a OnePlus Nord CE2 mobile and my brother has a OnePlus 12. When I turn on the hotspot on my phone and connect it to my PC, the download speed in Internet Download Manager (IDM) is around 200-...
Eagle Bird's user avatar
0 votes
0 answers
10 views

Turn off Azure Telemetry when param debug==True

Question of code quality: Is there a better way to implement a separate debug flow/turn off opentelemetry for a FastAPI endpoint in Python rather than separating the functionality (separate function) ...
Tim J's user avatar
  • 545
-1 votes
0 answers
21 views

Spa application (with iframes) to a modern SPA [closed]

I have a laravel project with php8.1, which as frontend uses simple, blade with Html, bootstrap, javascript other things on the front. This page consists of several modules or pages, which perform ...
Victor's user avatar
  • 1
-2 votes
0 answers
21 views

Why TLSv1.3 encrypt data is slower than TLSv1.2

I know that TLSv1.3 handshaking is faster than TLSv1.2, so I tried to upgrade our application to support it. But after performance comparison, we found that packets delay increase obviously, Here is ...
Tyrion Roberts's user avatar
-1 votes
0 answers
21 views

ES query slows down in high concurrency [closed]

We now have a large number of NetFlow records that need to be queried, with a data volume of 200,000 records/s. The query logic is to go to es to associate users based on time, aIp, start and end ...
qingdou's user avatar
-1 votes
0 answers
8 views

do we also need to place modifications in the SConstruct file?

I Am working with DVFSHandler, and I want to know if we want to place some changings in the DVFShandler.py and corresponding dvfs_handler.cc and .hh, do we also need to place modifications in the ...
Khaki's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
6832