Category "performance"

Flutter - Are SVGs bad for performance?

I have a lot of logos that I want to use in my Flutter app at various resolutions, so am considering using the flutter_svg package to facilitate this. I don't k

Allegro 5 game - bitmap drawing slows down after running for a few seconds

I have a problem with my Allegro 5 code. It has three, sections, a section that checks for inputs, then a section that runs every 1/30th of a second with a time

How does the CPU cache affect the performance of a C program

I am trying to understand more about how CPU cache affects performance. As a simple test I am summing the values of the first column of a matrix with varying nu

MongoDB "IN" filter Issue

I am trying to query mongodb collection using Aggregate and IN Filter, like this var filters = Builders<Model>.Filter.In(x => (Guid)x.Id, listOfIds);

Rails, is find_by().present? more performant than where().exists?

This question arose from me doing 2 types of performance tweaks: changing a lot of my where().present? statements to where().exists? changing a lot of my where(

Problem by dictionaries to use numba njit parallelization to accelerate the code

I have written a code and try to use numba for accelerating the code. The main goal of the code is to group some values based on a condition. In this regard, it

TypeError: ‘undefined’ is not an object (evaluating)

I'm started react-native tutorial on youtube, and I get error this one. TypeError: ‘undefined’ is not an object This is File it is showing from:

My JavaScript code is memory leaking, but I don't know how to fix

I have a Discord bot written in Nodejs (JavaScript), but I run into a memory leak issue recently. My code is using ~10GB memory, and it keep increasing. I run p

R Fastest way to get value from a data.table under multiple criteria

i am trying to get the fastest (and to some extent elegant) method to extract single elements out of a data.table under a few criteria (with support table). For

jdbc template batch update with snowflake database is very slow

I have a spring boot application that connects to the Snowflake Database and uploads records (approx 50 columns of different data types). I am using JdbcTemplat

How to handle large no of data/records from backend and display in UI as Angular

There could be following possibilities, need help against each one. Pagination can be implemented, but if we apply pagination, then can we search data from all

Mysql Select INNER JOIN with order by very slow

I'm trying to speed up a mysql query. The Listings table has several million rows. If I don't sort them later I get the result in 0.1 seconds but once I sort it

Javascript not executing immediately?

I have a javascript in a form of an extension on my Brave, that is connected to the authotkey commands, when I press a button the script will activate and const

Same queryset evaluation code, different field names in Django Views

I have seemingly redundant code in Django Views which evaluates the same query-set (Model.objects.all()) but with different field names: def overview_view(reque

Fastest, most efficient way to check for changes in a large XML file (100k+ entries) updated daily with PHP

I am working with xml files with 50-150k+ entries, and about 50-100MB+ in size that change daily. All entries are unique, and have 10-15 elements per entry (id

How to use software prefetch systematically?

After reading the accepted answer in When should we use prefetch? and examples from Prefetching Examples?, I still have a lot of issues with understanding when

How to automate the creation of Table data on Jmeter when using aggregate report?

Table dataI want to obtain the Table Data created by the aggregate report used in Jmeter 5.3 but i cannot find the way. I don't know if i can can do it using a

Azure Function App is very slow, but only sometimes

I have read through most of the questions that seems to be similar to what I'll ask so hopefully I'm not wasting anyone's time. We have a Function App in Azure

How to use Performance Profiler with Instrumentation on Asp.net Core app in Visual Studio 2022

How do you get instrumentation performance data from an ASP.NET Core web app using VS 2022 tools? We now an app with an ASP.NET Core Web API and MVC app pair. T

How should I design my application to handle large amounts of data?

I am building an application for building sports betting models. Basically users can create their own criteria and backtest their models across historical data.