!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

217 Members
59 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@outfoxxed:outfoxxed.meoutfoxxedwhen everything else somehow fails i think08:04:07
@outfoxxed:outfoxxed.meoutfoxxedlemme find the docs08:04:11
@outfoxxed:outfoxxed.meoutfoxxedhttps://doc.qt.io/qt-6/qt-add-qml-module.html#caching-compiled-qml-sources08:05:32
@outfoxxed:outfoxxed.meoutfoxxed

All .qml, .js, and .mjs files added to the module via the QML_FILES argument will be compiled to bytecode and cached directly in the backing target. This improves load-time performance of the module. The original uncompiled files are also stored in the backing target's resources, as these may still be needed in certain situations by the QML engine.

08:05:42
@outfoxxed:outfoxxed.meoutfoxxed *

All .qml, .js, and .mjs files added to the module via the QML_FILES argument will be compiled to bytecode and cached directly in the backing target. This improves load-time performance of the module. The original uncompiled files are also stored in the backing target's resources, as these may still be needed in certain situations by the QML engine.

08:05:48
@outfoxxed:outfoxxed.meoutfoxxedthis might be whats happening08:06:05
@k900:0upti.meK900Certain situations my ass08:06:11
@k900:0upti.meK900Very helpful08:06:15
@outfoxxed:outfoxxed.meoutfoxxedit sounds like the resource path only, but when I compiled a module from my own application it copied the source as well08:06:35
@outfoxxed:outfoxxed.meoutfoxxed * it sounds like the resource path only, but when I compiled a module from my own application it copied the source to the module dir as well08:06:43
@k900:0upti.meK900Here's a crazy idea08:07:27
@k900:0upti.meK900Just make it log very loudly when it's trying to cache bare QML08:07:41
@k900:0upti.meK900Along with the file path08:07:44
@k900:0upti.meK900And run that for a bit08:07:50
@k900:0upti.meK900And see when it actually gets hit, if ever08:07:57
@outfoxxed:outfoxxed.meoutfoxxeddoesn't even need to be loudly08:07:58
@outfoxxed:outfoxxed.meoutfoxxedjust needs a category08:08:01
@k900:0upti.meK900Well very loudly is helpful for finding it in the journal later08:08:09
@k900:0upti.meK900But otherwise yes08:08:14
@outfoxxed:outfoxxed.meoutfoxxedI don't run many qml applications or plasma so I can't really test that08:08:23
@outfoxxed:outfoxxed.meoutfoxxedsomeone with plasma would be the best choice08:08:29
@k900:0upti.meK900I can volunteer myself but probably not today08:09:35
@outfoxxed:outfoxxed.meoutfoxxedmy own application exclusively uses fs paths but they're all running through a url interceptor which makes them impossible to cache and test08:10:09
@outfoxxed:outfoxxed.meoutfoxxedWhat route do you think we should take the general validation storage though? I'm thinking libraryVersionHash, and I'll implement that probably tomorrow if you don't have any objections to that part08:18:32
@k900:0upti.meK900You mean hash application build-id into the timestamp field?08:19:14
@outfoxxed:outfoxxed.meoutfoxxedno, i mean the store path into libraryVersionHash08:22:02
@outfoxxed:outfoxxed.meoutfoxxedif any of this goes upstream they can just allocate fields for it08:22:15
@outfoxxed:outfoxxed.meoutfoxxedwe can't do that without increasing the maintenance burden of the patch08:22:44
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @k900:0upti.me
I can volunteer myself but probably not today
and by the way if you want to log disk cache loads, ExecutableCompilationUnit::loadCacheFilePath
08:23:56
@outfoxxed:outfoxxed.meoutfoxxedRedacted or Malformed Event08:24:03

Show newer messages


Back to Room ListRoom Version: 9