Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
106 views

I'm using Filament PHP v3 with Laravel and have a table that can contain 500,000+ user records. When users click the "Select All" button the application crashes with a memory exhausted error:...
Nguyễn Trọng Hiếu's user avatar
0 votes
1 answer
37 views

I am developing a command predictor in C# following this guide. I managed to get the predictions working, but I hit a blocking point. If the execution time of the GetSuggestion() function is too long, ...
Kudor's user avatar
  • 69
1 vote
0 answers
48 views

I want to convert time in default Karate HTML report from millisecond to second.Is it possible to achieve this using karate.config.js file (either by using anu javascript function/using karate.config) ...
Gohila Mani's user avatar
0 votes
1 answer
87 views

I have written a query in oracle sql as follows. But the sql query brings the result for a long time. For example, when searching for a customer, the result comes in 4 minutes. Please help me to ...
Narin 's user avatar
  • 19
0 votes
1 answer
84 views

This is a function to get the data for a bar chart in my expo application using expo-sqlite but the sql query doesn't seem to work properly. What i wanted was to create a function that can fetch the ...
codexerOO's user avatar
  • 143
0 votes
0 answers
118 views

I'm interested in getting more insight into how the maximum execution time in PHP/Laravel works. I tried to Google it myself, but wasn't successful. Here is the problem: I wrote a piece of code in ...
Coypote's user avatar
0 votes
2 answers
86 views

I am trying to make a game from a TV show Cifras y letras in Spain (Countdown in the UK or Des Chiffres et des lettres in France). I have a list of all the Spanish words thanks to a code I found that ...
Albertofma's user avatar
0 votes
0 answers
56 views

Here is my code: with pairs as ( select distinct team_info."number" as "team_number", aic_info."name" as aic_name, aic_assets."IMEI" as ...
Maverick's user avatar
-1 votes
1 answer
1k views

whenever I run the cell the time is coming in microseconds, I want the time in seconds how can I achieve this? enter image description here I want time in seconds or how can I get the result in ...
Raval Sahil's user avatar
1 vote
1 answer
670 views

I am planning to log the execution time of all methods for a REST API. To accomplish this, I use AOP as follows: @Aspect @Component @Slf4j @ConditionalOnExpression("${aspect.enabled:true}") ...
dev333's user avatar
  • 819
0 votes
0 answers
54 views

I'm trying to generate spikes from image for spike neural networks. I do this with rate coding, where the probability of generating a spike corresponds to the pixel value. I test my function with ...
Boris 's user avatar
-2 votes
2 answers
126 views

Action 1: Multiplication of a random number a with another random number b Action 2: Multiplication of the same number a with 0 I did a small experiment to see which of these actions has the smallest ...
user1198483's user avatar
-1 votes
2 answers
95 views

what is faster? pre-compiled headers or same headers built to objects? Question: Do I still need precompiled headers If I move to model above? Anything else you'd advise to speed up time to update? I ...
J.Nowicky's user avatar
1 vote
0 answers
104 views

I'm performing an hyperparameter tuning using both LinearSVC and SVC classes from scikit-learn and even though I'm performing 10 times more searches with the SVC class than with LinearSVC, the ...
ghost wizard's user avatar
1 vote
0 answers
873 views

I was looking for a solution for timing code execution. Of course, I found all sorts of solutions mostly suggesting the use of timeit module - which is pretty cool - or just using the time module. ...
Gergely M's user avatar
  • 763
-1 votes
1 answer
49 views

I've been working on a data transformation project. I've had success with the code execution when dealing with small data sets. However, when working with larger data sets, the JavaScript execution ...
hoor Iqbal's user avatar
0 votes
0 answers
80 views

I created a macro and I'm using the following way to calculate the maximum value: UltimaLinha = Workbooks(modelo).Sheets(NomeAba).Cells(Workbooks(modelo).Sheets(NomeAba).Rows.Count, "A").End(...
Bruno Ramirez's user avatar
3 votes
1 answer
442 views

I have a bunch of functions that complete in a few nanoseconds and I want to measure their execution time to assess their performance. The basic idea is very simple, take a timestamp, execute the same ...
Ξένη Γήινος's user avatar
1 vote
2 answers
4k views

I have been working on a project where I use Google Workspace and Google Apps Script to edit spreadsheets. While I have gone through the official documentation here, I still have some questions ...
Saikumar Pole's user avatar
-1 votes
3 answers
176 views

I am trying to beat pow function of C++ by using Taylor Series, Newton's Method, continued fraction and such, the goal is to get a good approximation faster than pow. I wrote some functions to ...
Ξένη Γήινος's user avatar
-1 votes
1 answer
85 views

When I try to run the program it appears: "Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @...
Diego Alba's user avatar
0 votes
0 answers
23 views

I cannot find an answer which fits to my problem. I have a function in python which calculate the energy of a physics system. To optimize the energy I apply SGD to this function. I can record the ...
Paolo Recchia's user avatar
0 votes
0 answers
38 views

I'm trying to do an automatic code, I have build a loop to match people in my 2 databases. here an example of thoses two database: some library might be needed so here all I used: library(readr) ...
Leonardo watch's user avatar
0 votes
0 answers
520 views

I wrote a small script in Google Apps to process some 200+ files stored in my Google Drive. The processing consists basically in copying them all, one by one, to a master file, stored also in my ...
pxc's user avatar
  • 151
1 vote
0 answers
630 views

I am generating a script to validate XMLs (the specific code for each validation rule is written in the validation_rules module) and the code execution time was getting too long. So, I decided to use ...
James_00's user avatar
1 vote
3 answers
160 views

I got this code below which works fine but takes too much time to execute (>30s): df['Date_engagement'] = np.nan for i in range(df.shape[0]): if not(pd.isna(df.loc[i,'Engagement'])): df.loc[i, '...
leboma241's user avatar
0 votes
0 answers
77 views

I am learning how to work with Python's multiprocessing, and the following are virtually identical block of codes, one is written in single threaded, single process, and the other is multiprocessing, ...
Hoang Duy Tran's user avatar
0 votes
0 answers
44 views

I have two collections mainCol and joinedCol from which using joins i am fetching around millions of records and the db query is taking excessive time, i want to use indexes on the fields of joined ...
Aadi Sharma's user avatar
2 votes
2 answers
500 views

Using the standard library function clock() is one of several methods to measure the execution time of a function call in C. So, for example, the comparison of the execution times of two functions (...
slago's user avatar
  • 5,553
0 votes
2 answers
1k views

I have been using .explain("executionStats") to find the execution time for a get-call like below in mongoDB compass console sh: db.getCollection('Employee').find({"value.attendence&...
Jet's user avatar
  • 3,386
0 votes
2 answers
586 views

I have found this library called heartrate which shows how many times each line has been hit. I'm wondering if there is a similar library that can show the execution time of each line? Sometimes a ...
CyberPlayerOne's user avatar
-2 votes
1 answer
134 views

Assuming we have a function that updates a bunch of internal values within a class like so: class MyClass: def __init__(): self.counter = 0 self.condition_1 = True self....
Random's user avatar
  • 13
0 votes
0 answers
89 views

I have been trying to improve the execution time of my program. The function below is a method of Class KAT, which also has references, samples and pointerMatrix as variables. There are 3 references ...
efrain_ceh's user avatar
1 vote
0 answers
24 views

I have a function that is continuously looking for active services on the network with its name and port, but it is endless. I would like to know how to stop the execution after 30 seconds or ...
Víctor Martín's user avatar
-1 votes
2 answers
113 views

The problem is to create an array of player ranks based on 2 other arrays: leaderboard and player scores. More explanations of the problem here: https://www.hackerrank.com/challenges/climbing-the-...
redone_l's user avatar
1 vote
2 answers
1k views

Can someone help me understand how process_time() works? My code is from time import process_time t = process_time() def fibonacci_of(n): if n in cache: # Base case return cache[n] # ...
Alexander Konukhov's user avatar
0 votes
0 answers
998 views

i have tried to run a simple task using airflow bash operator but keep getting stuck on my DAG never stop running, it stays like green forever without success or fail, when i check the logs i see ...
Efe's user avatar
  • 1
3 votes
1 answer
580 views

I wrote a simple for loop in Delphi and translated it to Julia. The execution time of the Delphi program, compared with the Julia one, is just pathetic: Julia is 7 times faster - see the program and ...
Error - CPU Not Foud's user avatar
-2 votes
1 answer
138 views

So I need to measure execution time of some code inside for loop. Originally, I needed to measure several different activities, so I wrote a timer class to help me with that. After that I tried to ...
Aisec Nory's user avatar
0 votes
1 answer
153 views

I have this query running on a Postgres 12 server with WHERE datetime BETWEEN datetimeA and datetimeB. Time difference between datetimeA and datetimeB is always 30 minutes, number of data involved is ...
Jihada Amalia's user avatar
3 votes
1 answer
140 views

SHORT: My problem is that the following function which sum the content of a given array in a given range, doesn't take the same execution time for the same task as the parent if called from a child. ...
Phazertron's user avatar
3 votes
1 answer
800 views

I want to find the execution time of a program I wrote in pascal but i dont know the syntax to do that.. is there a function that calculates it? I searched a little bit and found that people use the ...
ichil's user avatar
  • 51
1 vote
1 answer
81 views

I am a beginner, I wanted to find out the time taken by my code to execute and find out if Insertion Sort(IS) takes more time than MergeSort(MS) (It is supposed to take more time for sufficiently ...
Ayandeep Kar's user avatar
2 votes
1 answer
124 views

I wanted to compare execution time of my implementation of calculationg square root to native Math.sqrt() in Node.js. So I made some functions to test it: function getDuration(func, argumentGenerator, ...
M M's user avatar
  • 45
0 votes
1 answer
645 views

I am looking for performance improvement of SQL (ORACLE) Based on few examples I tried to compare execution time between simple join between two tables v/s same query with MatrializedView. Both ...
Tej Kiran's user avatar
  • 2,256
0 votes
1 answer
1k views

I'm creating a query that will contain multiple temp tables and subqueries. I want to optimize the execution time by using the most efficient method of retrieving data along each step. A couple years ...
GigaFluxx's user avatar
0 votes
0 answers
89 views

I used Hyperledger Fabric to build an application. For, chaincode and api I used JavaScript. Now, I want to find out how much time it takes to store the data in the ledger. How can I do this?
Mallika's user avatar
0 votes
0 answers
82 views

I run the Dijkstra source-target shortest path algorithm in Neo4j (community edition) for 7 different graphs. The sizes of these graphs are as follows: 6,301 nodes - 8,846 nodes - 10,876 nodes - 22,...
Sama's user avatar
  • 77
1 vote
1 answer
490 views

I'm trying to find the execution time of GDS algorithms using the community edition of Neo4j. Is there any way to find it rather than query logging? Since this facility is specific to the enterprise ...
Sama's user avatar
  • 77
0 votes
0 answers
53 views

Could some one explain why second thread taking much lesser time for same process public class Main { public static void main(String[] args) { final String[] test = { "...
Vishal Singh's user avatar

1
2 3 4 5
15