Category "performance"

Which Java version is the fastest on and is supported by Android?

I heard that Java is becoming faster on newer versions of Android that it's almost as fast as C++, and the performance depends on the type of code/operations. I

How to use multiple CPUs with Python on a HPC?

I'm working on a data analysis project in Python and I'm using a HPC cluster to process my data. I'm having a hard time getting my program to use multiple CPUs

Why is reading a JDBC ResultSet by position faster than by name and how much faster?

Announcing Hibernate 6 the Hibernate team claims that by switching from read-by-name to read-by-position in JDBC ResultSet they gain a performance benefit. Hig

Python OpenCV streaming from camera - multithreading, timestamps

I ran simple python script on Raspberry Pi 3. This script is responsible to open video device and stream data (800x600) to HTTP endpoint using MJPEG. When I rec

Which is faster php date functions or carbon?

Carbon is simple PHP API extension for DateTime. I want to know that we can use datetime functions using by installing carbon via composer. which is faster ph

Recomendation for daily background work in Android

I just want to know any of your experiences scheduling daily jobs that perform tasks like data upload with POST API request and then update the local database w

How to make a prime decomposition function faster?

I want to make a prime decomposition function faster, but it needs to use a precomputed list of primes. This is what I have so far: def decompose(n): factor

J meter - Mobile app recording - SSL HandshakeException

I am getting below responce in result tree when record mobile app using j meter javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown

During thread contention how can I speed up this ConcurrentQueue implementation which uses ReaderWriterLockSlim over a regular Queue<T>

Question: How can I implement a faster thread safe queue to support an object pool when under heavy thread contention? Scenario: My overall final objective is a

Website Performance Issue [closed]

If a website is experiencing performance issues all of a sudden, what can be the reasons behind it? According to me database can one reason or

Should I put href attribute before rel on link tag?

As in here https://github.com/joshbuchea/HEAD#performance, it recommends putting the href attribute before the rel attribute. I used to put rel before href. Ho

Is Laravel really this slow?

I just started using Laravel. I've barely written any code yet, but my pages are taking nearly a second to load! This is a bit shocking to me when my framewo

How to compare 1,000 images using the available memory efficiently

This is a tough problem. I have around 1,000 images stored in my disk, and I want to find images that are similar to each other by comparing them in pairs. So I

Laravel Eloquent vs DB facade: Why use Eloquent and decrease performance? [closed]

I did some performance tests between Laravel's DB facade query builder and Laravel's Eloquent ORM. The DB facade was much faster than Eloquent

How many concurrent setTimeouts before performance issues?

I have a node.js app with 10k-100k concurrent setTimeouts running at any given time. (They are all 5 minute duration.) The callback is pretty trivial, just an H

How many concurrent setTimeouts before performance issues?

I have a node.js app with 10k-100k concurrent setTimeouts running at any given time. (They are all 5 minute duration.) The callback is pretty trivial, just an H

How to improve performance of JavaFX graphic drawing?

Situation : I've created an app which needs to draw simple rectangles (1x1 - 3x3 size) depends on some variables stored in array of corresponding size (900x900

Node+Express+MongoDB Native Client Performance issue

I am testing the performance of Node.js (ExpressJS/Fastify), Python (Flask) and Java (Spring Boot with webflux) with MongoDB. I hosted all these sample applicat

Does auto deduce the type at compile time or runtime in C++ 11?

Consider the following auto a = 10; When does the compiler know that a is an int, at compile time or at run-time? If it deduces the type at run-time, will it n

How to solve usng temporary;using filesort using MySQL SELET SELECT UNION SELECT

I have this query: SELECT * FROM (SELECT a.id AS id, a.user_id AS user_id, aa.power * a.amount AS total_power, a.group_number A