You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kram-profile - log count, duration about each track.
Can eventually store with the File object and display in a hud. But for now, just useful to see the count/duration for mem traces. Less useful for build or perf traces.
Copy file name to clipboardExpand all lines: kram-profile/kram-profile/kram_profileApp.swift
+133-72
Original file line number
Diff line number
Diff line change
@@ -15,43 +15,47 @@ import UniformTypeIdentifiers
15
15
// can interop with. SwiftUI has not browser widget.
16
16
17
17
// DONE: add bg list color depending on sort
18
+
// DONE: fn+F doesn't honor fullscreen
19
+
// DONE: Perfetto can only read .gz files, and not .zip files.
20
+
// But could decode zip files here, and send over gz compressed.
21
+
// Would need to idenfity zip archive > 1 file vs. zip single file.
22
+
// DONE: add gz compression to all file data. Use libCompression
23
+
// but it only has zlib compression. Use DataCompression which
24
+
// messages zlib deflate to gzip.
25
+
// DONE: if list hidden, then can't advance
26
+
// DONE: be nice to focus the search input on cmd+F just to make me happy. (using cmd+S)
27
+
// Browser goes to its own search which doesn’t help.
28
+
29
+
18
30
// TODO: add sort mode for name, time and incorporating dir or not
19
31
// TODO: fix the js wait, even with listener, there's still a race
20
32
// maybe there's some ServiceWorker still loading the previous json?
21
33
// Perfetto is using a ServiceWorker, Safari uses those now, and ping/pong unware.
22
-
// TODO: still getting race condition. Perfetto is trying to
34
+
// TODO: still getting web race condition. Perfetto is trying to
23
35
// load the previous file, and we’re sending a new one.
24
-
// TODO: update recent document list
36
+
// TODO: add/update recent document list (need to hold onto dropped/opened folder)
25
37
// TODO: have a way to reload dropped folder (not just subfiles)
26
38
// TODO: nav title and list item text is set before duration is computed
27
39
// need some way to update that.
28
40
// TODO: support WindowGroup and multiwindow, each needs own webView, problem
29
41
// is that onOpenURL opens a new window always.
30
-
// DONE: fn+F doesn't honor fullscreen
31
-
// TODO: be nice to focus the search input on cmd+F just to make me happy.
32
-
// Browser goes to its own search which doesn’t help.
33
42
// TODO: work on sending a more efficient form. Could use Perfetto SDK to write to prototbuf. The Catapult json format is overly verbose. Need some thread and scope strings, some open/close timings that reference a scope string and thread.
34
-
// DONE: Perfetto can only read .gz files, and not .zip files.
35
-
// But could decode zip files here, and send over gz compressed.
36
-
// Would need to idenfity zip archive > 1 file vs. zip single file.
37
-
// DONE: add gz compression to all file data. Use libCompression
38
-
// but it only has zlib compression. Use DataCompression which
39
-
// messages zlib deflate to gzip.
40
43
// TODO: switch font to Inter, bundle that with the app?
0 commit comments