Skip to content

v0.1.3

Choose a tag to compare

@beihzb beihzb released this 20 Aug 12:23
· 30 commits to main since this release

v0.1.3 — Performance, resilience, session cwd sync, hybrid-CPU hint

Performance

  • Live progress events are throttled and compacted (only the last few outputs, stream tails) instead of resending the full output set every ~80ms.
  • Browser state polling reduced (1000ms while running / 2500ms idle); duplicated React state updates removed.
  • Frequent /nb/get and run responses no longer resend the full kernel list (kept only where needed; the UI preserves it).

Resilience

  • Fixed a React hooks-order crash in the output view that could blank the whole Notebook panel after a cell run.
  • Added a lightweight error boundary so a single bad output shows a recoverable message instead of an empty panel.

Session-aware workspace

  • Notebook default cwd/workspace now follows the current DSH session instead of the dsh web process directory.
  • Manual "set working directory" and opened-notebook cwd take priority over auto-sync.

Hybrid-CPU (big.LITTLE) hint

  • Detects hybrid CPUs cross-platform (Windows EfficiencyClass, macOS perf levels, Linux core_type/frequency gap) by physical topology — no CPU-name whitelist, so future chips are recognized.
  • One-time per-session hint (dismissible, session-scoped) with copy-ready psutil snippet that pins the Python process to P-cores and raises priority.
  • Fixes a previous snippet that only raised priority without actually setting CPU affinity.

Docs

  • Updated English + Chinese README with the new features.