[SOLVED] Very slow editor - independent of settings
Re: Very slow editor - independent of settings
Did you try to copy the whole purebasic installation (with or without prefs etc.) to a working computer and see if it works there? And vice versa copy another purebasic from a working computer to the problematic one and see if it becomes slow there too?
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
Result: No change for all computers. The only fast one stays fast, all others are slow.#NULL wrote: Sat Oct 26, 2024 8:21 pm Did you try to copy the whole purebasic installation (with or without prefs etc.) to a working computer and see if it works there? And vice versa copy another purebasic from a working computer to the problematic one and see if it becomes slow there too?
Re: Very slow editor - independent of settings
Name the processor models where it works fast and where it works slowly. Maybe you think that a certain processor is better. You can buy a new computer, but the processor will be worse than the old one. Memory has no effect, or rather almost no effect. The bus frequency is affected, but not the amount of RAM. The hard drive doesn't matter either, the data is read instantly. If you have 2 cores and 8 cores, then you will get that on a dual-core one, one core will be idle, and on an eight-core one, 7 cores will be idle. Therefore, a seemingly fast eight-core processor will work like a dual-core processor.
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
I don't think an Intel i5-4th generation can compete with Intel i7-12th generation... see yourself:
Computer with fast IDE (but lower resources):
=============================================
Prozessor Intel(R) Core(TM) i5-4210M CPU *
Installierter RAM 4,00 GB (3,89 GB verwendbar)
Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor
Edition Windows 10 Pro
Version 22H2
Betriebssystembuild 19045.5011
Leistung Windows Feature Experience Pack 1000.19060.1000.0
* Specifications: https://www.intel.com/content/www/us/en ... tions.htlm
Computer with slow IDE (but better hardware):
=============================================
Prozessor 12th Gen Intel(R) Core(TM) i7-12650H **
Installierter RAM 16,0 GB (15,7 GB verwendbar)
Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor
Edition Windows 10 Pro
Version 22H2
Installiert am 21.02.2024
Betriebssystembuild 19045.5011
Leistung Windows Feature Experience Pack 1000.19060.1000.0
** Specifications: https://www.intel.com/content/www/us/en ... tions.html
Computer with fast IDE (but lower resources):
=============================================
Prozessor Intel(R) Core(TM) i5-4210M CPU *
Installierter RAM 4,00 GB (3,89 GB verwendbar)
Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor
Edition Windows 10 Pro
Version 22H2
Betriebssystembuild 19045.5011
Leistung Windows Feature Experience Pack 1000.19060.1000.0
* Specifications: https://www.intel.com/content/www/us/en ... tions.htlm
Computer with slow IDE (but better hardware):
=============================================
Prozessor 12th Gen Intel(R) Core(TM) i7-12650H **
Installierter RAM 16,0 GB (15,7 GB verwendbar)
Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor
Edition Windows 10 Pro
Version 22H2
Installiert am 21.02.2024
Betriebssystembuild 19045.5011
Leistung Windows Feature Experience Pack 1000.19060.1000.0
** Specifications: https://www.intel.com/content/www/us/en ... tions.html
Re: Very slow editor - independent of settings
I asked ChatGPT for this and here is the answer:
The PureBasic IDE running slower on your i7-12650H compared to an older i5 can be due to several factors, even though the i7-12650H is a much more powerful CPU on paper. Here are some possible reasons for the slowdown:
### 1. **Power Management & Throttling:**
- **Thermal throttling:** Modern laptops with powerful CPUs like the i7-12650H often throttle their performance to prevent overheating, especially when they are thin or have less efficient cooling systems. If the CPU temperature gets too high, the system might reduce clock speeds, causing slowdowns.
- **Power profiles:** The power settings on your system could be limiting the CPU performance. If your laptop is set to a power-saving mode, the CPU might not be running at its full potential. Check your power plan (e.g., "Balanced" vs. "High Performance") to ensure it’s optimized for speed.
### 2. **Single-Core vs. Multi-Core Performance:**
- **PureBasic might be single-threaded:** While the i7-12650H is a multi-core CPU, PureBasic IDE might not be optimized for multi-threading. If the IDE primarily relies on single-core performance, and if the i5 you are comparing it to has a higher single-core clock speed or better single-core efficiency for that specific workload, the older i5 might outperform the i7 in this scenario.
### 3. **Integrated GPU Performance:**
- Many IDEs, including PureBasic, rely on the integrated graphics for rendering the user interface. If the i7-12650H's integrated GPU (Intel UHD or Iris Xe) is not being fully utilized or optimized, this could impact the performance of the IDE. It might also depend on drivers or configuration settings that could be underperforming on the newer system.
### 4. **Software/Driver Issues:**
- **Outdated drivers or firmware:** The newer i7 system might have issues related to drivers, such as outdated Intel graphics or chipset drivers. Updating these might resolve performance issues.
- **Version mismatch or inefficiencies:** PureBasic might not be fully optimized for newer hardware or OS versions. An older i5 might run the IDE more efficiently if the software is better tuned for older architectures.
### 5. **Background Processes:**
- **More demanding background tasks:** Newer systems often come with additional software running in the background (e.g., Windows Defender, system updates, telemetry, etc.). These can use up CPU cycles and memory, causing the IDE to feel slower compared to a simpler system setup on the older i5.
### 6. **Disk I/O and Storage Speeds:**
- **HDD vs SSD:** If your new system has a slower hard drive (e.g., an HDD instead of an SSD), the performance of the IDE could be bottlenecked by slower disk I/O. The speed of accessing and writing to files can significantly impact performance, especially with larger projects or databases.
- **NVMe or SATA:** Even if both systems have SSDs, the type (e.g., NVMe vs SATA) and quality of the SSD can greatly affect speed.
### 7. **CPU Efficiency (Big-Little Architecture):**
- The i7-12650H is part of Intel's newer Alder Lake series, which uses a hybrid architecture with performance (P) cores and efficiency (E) cores. If the IDE is being scheduled to run more on the E-cores (which are slower but power-efficient), this might explain why it feels slower than on the older i5, which may have had more consistent performance cores.
### 8. **BIOS or UEFI Settings:**
- Some BIOS or UEFI settings could be limiting the performance of your CPU. Features like **Intel SpeedStep** or **C-states** could be affecting the clock speed when running lighter applications. Additionally, some manufacturers underclock their laptops for better thermals or battery life, limiting the CPU's performance.
### 9. **Memory Configuration:**
- **RAM speed and dual-channel:** If your new system has slower RAM or isn't configured in dual-channel mode, this could negatively impact performance, especially in CPU-bound applications.
- **Virtual memory (swap):** If the newer system runs out of physical RAM and relies more on virtual memory, this could cause a slowdown compared to the i5 system, which might have been better optimized for memory usage.
### Solutions to Try:
1. Check your **power plan** and set it to **High Performance**.
2. Update your **GPU, chipset, and other drivers**.
3. Ensure **thermal throttling** isn’t limiting performance by monitoring CPU temperature (using tools like HWMonitor).
4. Disable unnecessary **background apps**.
5. Check whether the system is using **efficiency cores** for the PureBasic IDE. You might try setting affinity in Task Manager to restrict the process to the performance cores.
6. Update PureBasic or check if there’s a newer version optimized for your hardware.
These factors can help narrow down the cause of the performance difference.
While most are generic, the fact the CPU has e core and performance core can be a good track to follow. If you use it in energy saving mode and the performance cores are disable it can run much slower
The PureBasic IDE running slower on your i7-12650H compared to an older i5 can be due to several factors, even though the i7-12650H is a much more powerful CPU on paper. Here are some possible reasons for the slowdown:
### 1. **Power Management & Throttling:**
- **Thermal throttling:** Modern laptops with powerful CPUs like the i7-12650H often throttle their performance to prevent overheating, especially when they are thin or have less efficient cooling systems. If the CPU temperature gets too high, the system might reduce clock speeds, causing slowdowns.
- **Power profiles:** The power settings on your system could be limiting the CPU performance. If your laptop is set to a power-saving mode, the CPU might not be running at its full potential. Check your power plan (e.g., "Balanced" vs. "High Performance") to ensure it’s optimized for speed.
### 2. **Single-Core vs. Multi-Core Performance:**
- **PureBasic might be single-threaded:** While the i7-12650H is a multi-core CPU, PureBasic IDE might not be optimized for multi-threading. If the IDE primarily relies on single-core performance, and if the i5 you are comparing it to has a higher single-core clock speed or better single-core efficiency for that specific workload, the older i5 might outperform the i7 in this scenario.
### 3. **Integrated GPU Performance:**
- Many IDEs, including PureBasic, rely on the integrated graphics for rendering the user interface. If the i7-12650H's integrated GPU (Intel UHD or Iris Xe) is not being fully utilized or optimized, this could impact the performance of the IDE. It might also depend on drivers or configuration settings that could be underperforming on the newer system.
### 4. **Software/Driver Issues:**
- **Outdated drivers or firmware:** The newer i7 system might have issues related to drivers, such as outdated Intel graphics or chipset drivers. Updating these might resolve performance issues.
- **Version mismatch or inefficiencies:** PureBasic might not be fully optimized for newer hardware or OS versions. An older i5 might run the IDE more efficiently if the software is better tuned for older architectures.
### 5. **Background Processes:**
- **More demanding background tasks:** Newer systems often come with additional software running in the background (e.g., Windows Defender, system updates, telemetry, etc.). These can use up CPU cycles and memory, causing the IDE to feel slower compared to a simpler system setup on the older i5.
### 6. **Disk I/O and Storage Speeds:**
- **HDD vs SSD:** If your new system has a slower hard drive (e.g., an HDD instead of an SSD), the performance of the IDE could be bottlenecked by slower disk I/O. The speed of accessing and writing to files can significantly impact performance, especially with larger projects or databases.
- **NVMe or SATA:** Even if both systems have SSDs, the type (e.g., NVMe vs SATA) and quality of the SSD can greatly affect speed.
### 7. **CPU Efficiency (Big-Little Architecture):**
- The i7-12650H is part of Intel's newer Alder Lake series, which uses a hybrid architecture with performance (P) cores and efficiency (E) cores. If the IDE is being scheduled to run more on the E-cores (which are slower but power-efficient), this might explain why it feels slower than on the older i5, which may have had more consistent performance cores.
### 8. **BIOS or UEFI Settings:**
- Some BIOS or UEFI settings could be limiting the performance of your CPU. Features like **Intel SpeedStep** or **C-states** could be affecting the clock speed when running lighter applications. Additionally, some manufacturers underclock their laptops for better thermals or battery life, limiting the CPU's performance.
### 9. **Memory Configuration:**
- **RAM speed and dual-channel:** If your new system has slower RAM or isn't configured in dual-channel mode, this could negatively impact performance, especially in CPU-bound applications.
- **Virtual memory (swap):** If the newer system runs out of physical RAM and relies more on virtual memory, this could cause a slowdown compared to the i5 system, which might have been better optimized for memory usage.
### Solutions to Try:
1. Check your **power plan** and set it to **High Performance**.
2. Update your **GPU, chipset, and other drivers**.
3. Ensure **thermal throttling** isn’t limiting performance by monitoring CPU temperature (using tools like HWMonitor).
4. Disable unnecessary **background apps**.
5. Check whether the system is using **efficiency cores** for the PureBasic IDE. You might try setting affinity in Task Manager to restrict the process to the performance cores.
6. Update PureBasic or check if there’s a newer version optimized for your hardware.
These factors can help narrow down the cause of the performance difference.
While most are generic, the fact the CPU has e core and performance core can be a good track to follow. If you use it in energy saving mode and the performance cores are disable it can run much slower
Re: Very slow editor - independent of settings
And a link to try to launch the IDE using pcores: https://chatgpt.com/share/671e109b-d9d8 ... d135942228
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
All points checked, all points do not apply.
Besides that, it would explain a slightly slower speed, but not that much.
Besides that, it would explain a slightly slower speed, but not that much.
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Very slow editor - independent of settings
Quite interesting, not sure if you've tried already to start your IDE...
...in portable mode
...with no preference files at all
...from a memory stick (which could be tested also on your "fast" computer)
...in portable mode
...with no preference files at all
...from a memory stick (which could be tested also on your "fast" computer)
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
Yes, I alread tried that, no effect.
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
Finally I found a (little) clue! I still can't pinpoint the problem, but there is something very interesting:
In Windows safe mode the Purebasic IDE is fast on all computers!
Still investigating...
In Windows safe mode the Purebasic IDE is fast on all computers!
Still investigating...
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
After disabling and enabling several devices in the device manager, I finally found the problem!
I have two monitors, so in the device manager there are also two monitor devices. I deinstalled one of them, started purebasic and loaded my .pb file (on a computer with slow working IDE). It was FAST!
This is what I did:
https://imgbox.com/lJmLj3Z8 (Screenshot)
However, the second monitor installed again automatically after a reboot, because windows recognized it as device - and the problem occured again. And even worse: Now deinstalling or disabling the second (or first) monitor has no effect anymore, the IDE is slow again. It only worked once.
Is it possible, that the Purebasic IDE can be slow in certain cases when using several monitors?
I have two monitors, so in the device manager there are also two monitor devices. I deinstalled one of them, started purebasic and loaded my .pb file (on a computer with slow working IDE). It was FAST!
This is what I did:
https://imgbox.com/lJmLj3Z8 (Screenshot)
However, the second monitor installed again automatically after a reboot, because windows recognized it as device - and the problem occured again. And even worse: Now deinstalling or disabling the second (or first) monitor has no effect anymore, the IDE is slow again. It only worked once.
Is it possible, that the Purebasic IDE can be slow in certain cases when using several monitors?
Re: Very slow editor - independent of settings
I can imagine the number of hours that have been occupied in diagnosing the problem. I suppose you can always remove the monitor connection and try again, if that helps to prove it further.dangerfreak wrote: Sun Oct 27, 2024 6:53 pm And even worse: Now deinstalling or disabling the second (or first) monitor has no effect anymore, the IDE is slow again. It only worked once.
Is it possible, that the Purebasic IDE can be slow in certain cases when using several monitors?
It sounds like the IDE is looking for something and eventually timing-out.
Re: Very slow editor - independent of settings
A quick search on internet, I found this: monitor driver, different refresh rates!
How to Troubleshoot Sluggish Performance on Windows 10 When Connecting a Second Monitor
How to Troubleshoot Sluggish Performance on Windows 10 When Connecting a Second Monitor
-
- User
- Posts: 80
- Joined: Tue Jan 12, 2010 4:56 pm
Re: Very slow editor - independent of settings
Unfortunately I can't reproduce it anymore. Even after disconnecting my additional screen the IDE stays slow. 
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Very slow editor - independent of settings
Hm, what if...
...you start a remote desktop session (Mstsc) between slow and fast PC?
...you change the compatibilty settings (screen resolution etc.) for the purebasic.exe?
Any differences seen to older PureBasic or the 32bit versions?
...you start a remote desktop session (Mstsc) between slow and fast PC?
...you change the compatibilty settings (screen resolution etc.) for the purebasic.exe?
Any differences seen to older PureBasic or the 32bit versions?