diff --git a/.gitignore b/.gitignore index 4ef34e7..48f7452 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ music/ +recordings/ # Python __pycache__/ diff --git a/compare_memory.py b/compare_memory.py index 3346192..8cfa6cf 100755 --- a/compare_memory.py +++ b/compare_memory.py @@ -41,23 +41,23 @@ def main(): # Check Chrome chrome_mem, chrome_procs = get_process_memory('chrome') if chrome_mem > 0: - print(f"๐ Chrome (Web Panel):") + print(f"[CHROME] Chrome (Web Panel):") print(f" Total Memory: {chrome_mem:.1f} MB") print(f" Processes: {chrome_procs}") print() else: - print("๐ Chrome: Not running") + print("[CHROME] Chrome: Not running") print() - # Check PyQt5 + # Check PyQt6 qt_mem, qt_procs = get_process_memory('techdj_qt') if qt_mem > 0: - print(f"๐ป PyQt5 Native App:") + print(f"[PYQT6] PyQt6 Native App:") print(f" Total Memory: {qt_mem:.1f} MB") print(f" Processes: {qt_procs}") print() else: - print("๐ป PyQt5 Native App: Not running") + print("[PYQT6] PyQt6 Native App: Not running") print() # Comparison @@ -66,25 +66,25 @@ def main(): percent = (savings / chrome_mem) * 100 print("=" * 60) - print("๐ Comparison:") + print("[STATS] Comparison:") print(f" Memory Saved: {savings:.1f} MB ({percent:.1f}%)") print() # Visual bar chart max_mem = max(chrome_mem, qt_mem) - chrome_bar = 'โ' * int((chrome_mem / max_mem) * 40) - qt_bar = 'โ' * int((qt_mem / max_mem) * 40) + chrome_bar = '#' * int((chrome_mem / max_mem) * 40) + qt_bar = '#' * int((qt_mem / max_mem) * 40) print(" Chrome: " + chrome_bar + f" {chrome_mem:.0f}MB") - print(" PyQt5: " + qt_bar + f" {qt_mem:.0f}MB") + print(" PyQt6: " + qt_bar + f" {qt_mem:.0f}MB") print() if percent > 50: - print(f" โ PyQt5 uses {percent:.0f}% less memory!") + print(f" [OK] PyQt6 uses {percent:.0f}% less memory!") elif percent > 25: - print(f" โ PyQt5 uses {percent:.0f}% less memory") + print(f" [OK] PyQt6 uses {percent:.0f}% less memory") else: - print(f" PyQt5 uses {percent:.0f}% less memory") + print(f" PyQt6 uses {percent:.0f}% less memory") print("=" * 60) print() diff --git a/dj_icon.png b/dj_icon.png new file mode 100644 index 0000000..b856916 Binary files /dev/null and b/dj_icon.png differ diff --git a/index.html b/index.html index 0b0eebf..7a8f15d 100644 --- a/index.html +++ b/index.html @@ -29,6 +29,15 @@ USE PORTRAIT MODE + +