Category "performance"

How to speed up Tensorflow 2 keras model for inference?

So there's a big update nowadays, moving from TensorFlow 1.X to 2.X. In TF 1.X I got use to a pipeline which helped me to push my keras model to production. Th

Java code static analysis to find whether the code contains a HTTP call?

I am working on a very complex java web project with about hundreds of developers and intend to improve the performance of this monolitic. What I am trying to d

Apache performance tuning for high traffic with MPM Event

I currently manage the following set of servers that serve about 700 web pages: SERVER 1 (WEB) Web server: Apache 2.4.29 with MPM Event PHP 7.2.22 CPU: Intel

Expo build:web builds huge bundle and slow website with bad performance

The bundle size produced by expo build:web is huge at average 3mb. I completed steps at https://docs.expo.io/guides/web-performance/. My app has no images so no

How should I implement the init method? In a stateful or stateless widget?

What is the rule of thumb to use an initial method for a widget. Shall I use the: A. classical stateful widget approach? Or is it better to stick with the B. s

Jenkins pipeline library build using Java instead of Groovy

I would like to write my company Jenkins Pipeline Library using Java not Groovy, as groovy is slower than Java. I tried to find examples of such Java Jenkins li

slow performance of outlook addin to get contact item for distribution list

I have the following code it takes lot of time to retrieve contact items from the distribution list, exchange server. Is there anything can be done to tune it s

Performance issue with upgrade of spring boot

We upgraded an spring boot app from 2.0.0.RELEASE to 2.5.5. We use spring integration with queues persisted in Postgresql. We expose API. The embedded server is

Why does python multiprocessing script slow down after a while?

I read an old question Why does this python multiprocessing script slow down after a while? and many others before posting this one. They do not answer the prob

How to use FIO to test a FUSE filesystem?

I'm using fio to test the performance of fuse filesystem using this commandline: fio -filename=/User/mbl/fusefs -direct=1 -iodepth 1 -thread -rw=write -ioengine

Python create all combinations of data points and filter them based on function

I have a table of locations (right now in dataframe) and want to calculate all combinations and their distance from eachother. Input: ID Lat Lon 1 6,4355 53,22

Is this an efficient calculator in Python?

Is this an efficient calculator in Python? def calculator(): print("\nBasic Calculator.\n") num_1 = input("Enter your first number: ") operatio

Performance insert by JPA Spring-boot with Oracle database

the first thanks for your time. I am trying to insert data to the database by JPA(spring-boot), the project is using Oracle. Currently, Insert 5000 record, it t

openGauss performance reproduce

The openGauss is said to be 1.5M tpmC on 2-socket Kunpeng server. But how can I reproduce the results step by step?

Which one is better for string reverse in Python 3?

s="google" print("".join(reversed(s))) //elgoog print(s[::-1]) //elgoog In above the string is reverse using python 3 reversed method and slicing method bot

Efficiently shift-or large bit vector

I have large in-memory array as some pointer uint64_t * arr (plus size), which represents plain bits. I need to very efficiently (most performant/fast) shift th

Why autovacuum is not running

If the parameter autovacuum is on, and the parameter track_counts is on also - why it's look like the autovacuum has never worked? select relname,last_vacuum,

Count how many iterations of deletion until array is ordered

I'm trying to write a program whose input is an array of integers, and its size. This code has to delete each element which is smaller than the element to the l

is there a faster way to get multiple keys from dictionary?

I have a dictionary: d = {'a':1, 'b':2, 'c':3, 'd':4} Then I have a list of keys: l = ['a', 'b', 'z'] My desired result is: [1, 2, None] What I'm doing

Ionic - run performance tests directly on device

I am developing an ionic 1 app designed to run on a specific android device. I cannot find a way to easily get performance metrics (memory usage, cpu, fps, et