Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

In a high-performance Node.js service, I noticed that structuredClone() introduces unexpected latency spikes when cloning large nested objects (30–50 KB each). Even switching to manual cloning ...
Chand jr's user avatar
Advice
0 votes
2 replies
74 views

I was thinking back to WinJS or WinUI with Windows Universal Applications (WUA) from about 10 years ago. I am wondering how it compiled and avoided typical architecture errors. If there is no memory ...
LJones's user avatar
  • 35
0 votes
1 answer
127 views

In our system we are hashing passwords with the following method. public static string HashPassword(string password, byte[] salt) { if (salt == null) { throw new ArgumentNullException($...
Cerkvenic's user avatar
  • 377
-1 votes
0 answers
28 views

I'm using Solr 9.9.0 and I recently increased the server RAM from 16 GB to 32 GB, as well as the JVM heap memory to 16 GB. The issue I'm facing is that under high load, both the Solr 9.9.0 UI ...
Abhishek's user avatar
-8 votes
1 answer
112 views

When trying to performance-tune our XML parsing/validation/binding pipeline, I frequently hit the wall because java.lang.String neither exposes its internal backing array byte[] value / byte coder nor ...
winne2's user avatar
  • 2,232
0 votes
0 answers
21 views

For example, we have multiple logs that share the same structure: Order Created { ..."trace": { "order_id":123456, ... }} Order Paid { ..."trace": { "order_id":...
Mostafa El-Marzouki's user avatar
0 votes
1 answer
47 views

I’m running a Google Cloud Run service that exposes an API endpoint performing heavy computational tasks (CPU-bound). The API will be called very occasionally and for now there will never be ...
JoScratcherJo's user avatar
-1 votes
0 answers
160 views

I am seeding a database by copying over data from another database on the same server. In one of the tables, I am doing an INSERT INTO SELECT statement to bring over a few columns. While existing and ...
Robert Sievers's user avatar
3 votes
0 answers
135 views

I noticed a significant performance deterioration when using polars dataframe join function after upgrading polars from 1.30.0 to 1.31.0. The code snippet is below: import polars as pl import time ...
Y. Gao's user avatar
  • 1,049
Best practices
0 votes
5 replies
185 views

I am building a python service to compute Greek values using python, but I have never worked on python, and I would appreciate advice from the experienced python devs as it would help me a lot. FLOW ...
NOOB DEV's user avatar
3 votes
0 answers
150 views

I was benchmarking a naive transposition and noticed a very large performance discrepancy in performance between: a naive operation where we read data contiguously and write with a large stride; the ...
Etienne M's user avatar
  • 715
-1 votes
0 answers
75 views

Edit Here is a similar question but is specifically about request sync block in async. I'm just curious more about why the concurrency means they all take substantially longer - at different places in ...
user2616166's user avatar
7 votes
1 answer
132 views

I compared the speed of normal JavaScript functions and prototype extensions. function NormalizeSpace(str) { return str.trim().replace(/\s+/g, " "); } String.prototype.NormalizeSpace = function () ...
Dr. Gut's user avatar
  • 3,335
0 votes
0 answers
147 views

I have implemented the quicksort algorithm using the last element as the pivot. Now I want to generate an array for the best-case scenario. This is the function that I wrote, but I am not sure that it ...
Claudiu's user avatar
3 votes
3 answers
231 views

I need to process 100 Gigabytes of logs in a weird format, then do some analysis on the results. Initial parts of parsing and CLI done, tried on some test data with 1 GB and it took around a minute. I ...
nemo nemo's user avatar
0 votes
1 answer
44 views

My implementation of an API function doing a simple SPI transfer, offering a void *intfPtr parameter to pass a "device descriptor" which I am using to pass the I/O port and pin for SPI chip ...
Torsten Römer's user avatar
0 votes
2 answers
71 views

I have an instance of ReadOnlyMemory<byte> over a byte[] that I need to convert to ArraySegment<byte>. I'm doing this as part of a major code refactor, and I'm having to adapt an existing ...
Matt Davis's user avatar
  • 46.3k
3 votes
0 answers
102 views

I'm facing a counter-intuitive performance issue with my MongoDB sharded cluster where queries with fewer values in an $in clause are significantly slower than queries with more values. The Issue: ...
9308's user avatar
  • 31
-4 votes
1 answer
62 views

📝 Body I have a Mongo collection CollectionA where each top-level object contains a nested array of meetings now each meetings have start and end times, for example: CollectionA = [ { &...
LEO_007's user avatar
  • 51
2 votes
0 answers
280 views

So there is this original question I assume most of the C++ developers familiar with : Why is processing a sorted array faster than processing an unsorted array? Answer: branch prediction Then I tried ...
OopsUser's user avatar
  • 4,894
0 votes
2 answers
34 views

I need help to find a way to generate stress/capacity testing on webpage. Server Configuration of Load generator Processor: AMD EPYC 7R13 @ 3.6 GHz, 4 Cores Operating System: Ubuntu 22.04 (x86_64) ...
QA Helper's user avatar
1 vote
0 answers
71 views

I have some CUDA kernel code doing the following: half * restrict output; half v; // ... etc ... int i = whatever(); #ifdef CHECK_X if (i >= 0 && i <= SOME_CONSTANT) #endif { output[...
einpoklum's user avatar
  • 137k
0 votes
1 answer
80 views

I’m trying to set up OSRM with the latest India map (india-latest.osm.pbf). My system specs are: RAM: 32 GB CPU: Intel i7 11th Gen (8 cores / 16 threads) When I try to extract the map (osrm-extract), ...
MTB PL's user avatar
  • 1
0 votes
0 answers
47 views

I have a Pinia store defined like this: export type Era = { id: number name: string start_year: number end_year: number item_count: number } const settingStore = { eras: ref([] as Era[])...
Steve Bennett's user avatar
0 votes
1 answer
77 views

Im working on a small program where I have three threads with each a task to run: copy a file from A to B using a bash script. One thread copies a 100GB file, then another 2x a 10GB file. The 100GB ...
zwep's user avatar
  • 1,340

1
2 3 4 5
2056