Category "performance"

Why is my Pytorch code significantly slower than Tensorflow?

I am trying to move my code from Tensorflow to Pytorch. Before doing this, I just simply test myself two frameworks. I expected two frameworks should show simil

CTRL+D is not working in vs code copy similar code

Previous in I have used ctr+d for duplicating the code many times, but when I switched to desktop and installed vs code and all the necessary extensions for my

how to make faster to foreach, search then update more than 100k data?

i have console app for background job. the app will do like this, get data from database for the location we can call table A(have 100k data) and place to varia

Why is calling snprintf() so slow?

Our internal program is written in C and makes extensive use of snprintf() for many pieces, and I noticed that during debugging with perf record/report, it's sp

Efficient way to update values in a GeoDataFrame based on the result of DataFrame.within method

I have two large GeoDataFrame: One came from a shapefile where each polygons has a float value called 'asapp'. Second are the centroids of a fishnet grid with 3

Django - Joining after filtering

Imagine there are a model and a view: class Task(models.Model): title = models.CharField(...) message = models.TextField(...) performer = models.For

Unregister Events MultiCastDelegate Performance Problem

I have a problem: Our application has grown so far and therefore there is an object with many many EventHandlers. The point here is that removing them takes far

What's the computational complexity of .iloc[] in pandas dataframes?

I'm trying to understand what's the execution complexity of the iloc function in pandas. I read the following Stack Exchange thread (Pandas DataFrame search is

What's the computational complexity of .iloc[] in pandas dataframes?

I'm trying to understand what's the execution complexity of the iloc function in pandas. I read the following Stack Exchange thread (Pandas DataFrame search is

Would delayElement be susceptible to a DoS attack?

I have a service that authenticates a user and I put delayElement for 2 seconds when it is about to return a 401. When I run through artillery, it seems to star

Most efficient way to search over a DataFrame in Python [duplicate]

I have a DataFrame having these kind of data : df = pd.DataFrame({ 'id' : ['a', 'a', 'b', 'b', 'c', 'c'], 'alias' : ['value'+str(i) fo

Optimised EmEditor Macro to transpose and transform tab delimited data

I currently have a large tab delimited data set that looks like this (n is simply a number, there are more than 4 Headers), an initial Headers column that repea

CSS upscaling / force resolution

I'm working on a webgame and for performance reasons I'd like to render the UI at a certain resolution (lets say 640x480) and scale it up (just like you'd do wi

All else held equal, which is the faster querying option: Milvus, RocksDB, or Apache HBase

I have a requirement to store billions of records (with capacity up to one trillion records) in a database (total size is in terms of petabytes). The records ar

JMETER Performance Testing - Dynamic Payload

While doing performance testing via JMETER, I encountered one usecase where the POST request call is taking the dynamic data from the website. So in that case w

Is there a tool like fiddler that supports http2?

I tend to user fiddler for its autoresponder (testing how latency or invalid responses will impact overall page loads) and only just now realized that http2 is

Detectron2 Speed up inference instance segmentation

I have working instance segmentation, I'm using "mask_rcnn_R_101_FPN_3x" model. When I inference image it takes about 3 second / image on GPU. How can I speed u

How to use unsafe get a byte slice from a string without memory copy

I have read about "https://github.com/golang/go/issues/25484" about no-copy conversion from []byte to string. I am wondering if there is a way to convert a str

BIND 9 restart performance with DNSSEC

At the moment i experimenting with the restart performance of BIND9 (version 9.16.17). With 26000 active zones in the named.conf, the restart is roundabout 10 s

Rstudio very slow when editing large code

RStudio is working well in general (v 2021.09.1 Build 372). But when a large code (7000 lines, a collection of functions) is being edited, even a click on the t