Why has visdiff slowed on the order of magnitudes in MATLABR2022 compared to older versions, and is there a way to speed it up?

2 visualizaciones (últimos 30 días)
Previously, i've used visdiff for text files in MATLAB 2017a and will get a comparison within seconds. Now running in MATLAB 2022a it takes minutes to get a result. Is there a reason for this slow down, and is there anyway to speed it up?
  2 comentarios
Amit Dhakite
Amit Dhakite el 11 de Mayo de 2023
Editada: Amit Dhakite el 15 de Mayo de 2023
Hi Dean,
Could you please provide the files you are comparing, so that I could reproduce the issue at my end?
Dean DeBastiani
Dean DeBastiani el 15 de Mayo de 2023
Hey Amit,
I cannot provide the actual files. I can provide size representative files. I will note, the same files are compared in 2017a and 2022a, and the files seem to be irrelevant to the problem. Any large text file should bring the issue to light.

Iniciar sesión para comentar.

Respuestas (1)

Animesh
Animesh el 3 de Oct. de 2023
The slowdown you are experiencing with the visdiff function in MATLAB 2022a compared to MATLAB 2017a could be due to several reasons. Here are a few possible explanations:
  • Increased file size: If the text files you are comparing have grown significantly, it can lead to longer processing times.
  • External factors: Consider whether any other software or processes running on your computer could be affecting MATLAB's performance.
For more information related to visdiff - https://www.mathworks.com/help/matlab/ref/visdiff.html

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by