Arduino loop is slow

What speed mode are you setting the I2C bus ?
The ADS1115 can operate in standard, fast and high speed.

are you using I2C for the display as well ? or SPI ?

Is the ADS1115 set in continuous mode or one-shot ?

I know the DS18B20 temperature sensor libraries typically establish communication with the device, then wait for it to take the temperature reading, then reply. I call the device, tell it to take a reading, then after the needed time, call it back and get the reading.

I have not read the data sheet on the ADS1115 to see how it works.

But, if iy is possible to signal the ADC to take a reading while the MCU is doing other things would increase loop speed.

Railroader:
My knowledge is small regarding interrupts, timers, internal registers. Sometimes various libs use systemfunctions like this. Double use of the same resource leads to trouble. Maybe a more experienced member can comment the use of interrupt,
Do Yoi need to do all AD readings in every turn of loop? Can they be iffed regarding to what You are displaying for the moment? My guess….

Ah yes, probably i will just alternate the read, the voltage and then the current, this will increase the ad reading speed by 4x,

dave-in-nj:
What speed mode are you setting the I2C bus ?
The ADS1115 can operate in standard, fast and high speed.

are you using I2C for the display as well ? or SPI ?

Is the ADS1115 set in continuous mode or one-shot ?

I know the DS18B20 temperature sensor libraries typically establish communication with the device, then wait for it to take the temperature reading, then reply. I call the device, tell it to take a reading, then after the needed time, call it back and get the reading.

I have not read the data sheet on the ADS1115 to see how it works.

But, if iy is possible to signal the ADC to take a reading while the MCU is doing other things would increase loop speed.

I set it on 400KHz, increasing it does'nt change anything, i've tried it.

It is on one-shot mode

Neither do i, i have not read it too...