Library and Archive: opening or saving a small text file takes 1 to 6 seconds

オープン
#501 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Start by profiling library-object reads and writes and the eight sidebar folder-list requests made during each Library window load. Check whether the folder lists are handled one at a time, and review #445 for the related cost of decrypting every file in a folder. Done means small text files open and save about as fast as in Documents, and the visible folder loads before the others.

索引モデルが issue の本文から書いたものです。

説明

The ElastOS User Tester measured this on 0.8.0-alpha.25 (source 92aeea44d) on 28 Oct 2026, three runs each, with a 44-byte .txt file:

  • Library opened the file in Documents in about 1.5 s and saved it in about 0.9 s. Each library-object read or write took about 1 s.
  • Archive took about 6.4 s to make a ZIP of that file and about 4.4 s to open the ZIP.
  • For comparison, Documents saved its own file in about 60 ms.

Each Library window load, including the picker that Archive uses, asks for the lists of eight sidebar folders at the same moment. The last list returned after about 3 s, and an action the person took right after it waited behind them. The tester did not check whether the server answers these lists one at a time.

Expected: a small file opens and saves about as fast as in Documents, and Library loads the folder the person sees before the others. A good first step is to profile library-object and the folder lists. #445 (a folder listing decrypts every file in the folder) may explain part of the time.

The 0.8.0 candidate has no change for this, and the timings were not measured again on it.

主要言語
Rust
スター
6
フォーク
2
平均マージ
1日 3時間
マージ済み PR(30日)
42

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elastos/elastos-runtime のほかの issue

elastos/elastos-runtime の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。