refactor: rebuild desktop app with Tauri

This commit is contained in:
leookun
2026-08-24 02:49:00 +08:00
parent a3ec2a0dfc
commit 4053a7fb20
808 changed files with 87359 additions and 181491 deletions
+84
View File
@@ -0,0 +1,84 @@
{
"_comment": "React benchmark ground truth pinned to one immutable upstream commit.",
"name": "react",
"repository": "https://github.com/react/react.git",
"commit": "eafeac097ba51e1eab809c07102126bd5f8e5425",
"queries": [
{
"id": "state-hook-api",
"query": "where is the public useState hook implemented",
"literal_query": "export function useState",
"symbol_query": "useState",
"expected": [{ "path": "packages/react/src/ReactHooks.js", "line": 66 }]
},
{
"id": "create-context",
"query": "create a React context object from a default value",
"literal_query": "REACT_CONTEXT_TYPE defaultValue ReactContext",
"symbol_query": "createContext",
"expected": [{ "path": "packages/react/src/ReactContext.js", "line": 14 }]
},
{
"id": "schedule-fiber-update",
"query": "schedule an update on a Fiber root",
"literal_query": "scheduleUpdateOnFiber FiberRoot fiber lane",
"symbol_query": "scheduleUpdateOnFiber",
"expected": [{ "path": "packages/react-reconciler/src/ReactFiberWorkLoop.js", "line": 987 }]
},
{
"id": "commit-root",
"query": "commit the finished React root and flush its effects",
"literal_query": "commitRoot root finishedWork lanes",
"symbol_query": "commitRoot",
"expected": [{ "path": "packages/react-reconciler/src/ReactFiberWorkLoop.js", "line": 3725 }]
},
{
"id": "suspense-begin-work",
"query": "update a Suspense component during Fiber begin work",
"literal_query": "updateSuspenseComponent workInProgress renderLanes",
"symbol_query": "updateSuspenseComponent",
"expected": [{ "path": "packages/react-reconciler/src/ReactFiberBeginWork.js", "line": 2383 }]
},
{
"id": "delegated-dom-events",
"query": "register delegated listeners for every supported DOM event",
"literal_query": "listeningMarker rootContainerElement EventTarget",
"symbol_query": "listenToAllSupportedEvents",
"expected": [{ "path": "packages/react-dom-bindings/src/events/DOMPluginEventSystem.js", "line": 432 }]
},
{
"id": "create-dom-root",
"query": "create a concurrent React DOM root",
"literal_query": "createRoot CreateRootOptions RootType container",
"symbol_query": "createRoot",
"expected": [
{ "path": "packages/react-dom/src/client/ReactDOMRoot.js", "line": 171 },
{ "path": "packages/react-dom/src/client/ReactDOMRootFB.js", "line": 131 }
]
},
{
"id": "reconcile-keyed-array",
"query": "reconcile an array of keyed React children",
"literal_query": "reconcileChildrenArray currentFirstChild newChildren lanes",
"symbol_query": "reconcileChildrenArray",
"expected": [{ "path": "packages/react-reconciler/src/ReactChildFiber.js", "line": 1177 }]
},
{
"id": "dispatch-state-update",
"query": "dispatch a useState hook update",
"literal_query": "dispatchSetState fiber queue action",
"symbol_query": "dispatchSetState",
"expected": [{ "path": "packages/react-reconciler/src/ReactFiberHooks.js", "line": 3626 }]
},
{
"id": "hydrate-dom-root",
"query": "hydrate a server-rendered React DOM root",
"literal_query": "hydrateRoot initialChildren HydrateRootOptions",
"symbol_query": "hydrateRoot",
"expected": [
{ "path": "packages/react-dom/src/client/ReactDOMRoot.js", "line": 276 },
{ "path": "packages/react-dom/src/client/ReactDOMRootFB.js", "line": 148 }
]
}
]
}
+78
View File
@@ -0,0 +1,78 @@
{
"_comment": "Vue benchmark ground truth pinned to one immutable upstream commit.",
"name": "vue",
"repository": "https://github.com/vuejs/core.git",
"commit": "a2b40db9a83b36ed9da3a16403cf8f040262d73f",
"queries": [
{
"id": "reactive-proxy",
"query": "turn an object into a deeply reactive Vue proxy",
"literal_query": "createReactiveObject mutableHandlers mutableCollectionHandlers",
"symbol_query": "reactive",
"expected": [{ "path": "packages/reactivity/src/reactive.ts", "line": 87 }]
},
{
"id": "create-ref",
"query": "create a Vue ref around a value",
"literal_query": "IfAny UnwrapRef createRef",
"symbol_query": "ref",
"expected": [{ "path": "packages/reactivity/src/ref.ts", "line": 64 }]
},
{
"id": "create-renderer",
"query": "create a custom Vue renderer from host operations",
"literal_query": "baseCreateRenderer RendererOptions HostElement",
"symbol_query": "createRenderer",
"expected": [{ "path": "packages/runtime-core/src/renderer.ts", "line": 318 }]
},
{
"id": "patch-keyed-children",
"query": "diff keyed children using the longest increasing subsequence",
"literal_query": "patchKeyedChildren VNodeArrayChildren parentAnchor",
"symbol_query": "patchKeyedChildren",
"expected": [{ "path": "packages/runtime-core/src/renderer.ts", "line": 1804 }]
},
{
"id": "compile-template",
"query": "compile a Vue template AST into render function code",
"literal_query": "baseCompile source options TransformOptions",
"symbol_query": "baseCompile",
"expected": [{ "path": "packages/compiler-core/src/compile.ts", "line": 67 }]
},
{
"id": "parse-template",
"query": "parse a Vue template string into a root AST",
"literal_query": "baseParse currentInput defaultParserOptions",
"symbol_query": "baseParse",
"expected": [{ "path": "packages/compiler-core/src/parser.ts", "line": 1028 }]
},
{
"id": "reactivity-watch",
"query": "watch reactive sources and run a callback when values change",
"literal_query": "watch source cb options WatchOptions",
"symbol_query": "watch",
"expected": [{ "path": "packages/reactivity/src/watch.ts", "line": 120 }]
},
{
"id": "create-app-api",
"query": "create a Vue application instance and mount its root component",
"literal_query": "createApp rootComponent rootProps",
"symbol_query": "createAppAPI",
"expected": [{ "path": "packages/runtime-core/src/apiCreateApp.ts", "line": 253 }]
},
{
"id": "define-component",
"query": "define a Vue component while preserving type inference",
"literal_query": "isFunction options extraOptions setup",
"symbol_query": "defineComponent",
"expected": [{ "path": "packages/runtime-core/src/apiDefineComponent.ts", "line": 305 }]
},
{
"id": "hydrate-node",
"query": "hydrate server-rendered DOM nodes into Vue virtual nodes",
"literal_query": "hydrateNode container firstChild vnode",
"symbol_query": "hydrateNode",
"expected": [{ "path": "packages/runtime-core/src/hydration.ts", "line": 137 }]
}
]
}