QuantStack / QuantStack/git2cpp

Improve terminal pager performance

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

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

enhancement
主要言語
C++
スター
6
フォーク
5
平均マージ
4時間 22分
マージ済み PR(30日)
4

説明

The terminal pager is quite simple, it waits for the git2cpp command to produce all of its output before it is displayed. This can be slow for e.g. a git2cpp log of a big repo. Commands in a real terminal would run the pager in a separate process and pipe the output from the command to it, so it fills progressively. We cannot run the pager as a separate process in cockle so we'll need to find some other way of doing this better.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず、ターミナルページャーと、git2cpp コマンドを実行してその出力を収集するエントリーポイントを特定します。現在、出力のバッファリングによって表示がどのように遅延しているかを調査し、別のページャープロセスを使わずに cockle と互換性のある方法を特定します。git2cpp log のような大きなコマンドが段階的に表示されれば完了です。

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

評価

技術スタック
cpp
領域
cli, performance
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
42/100

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

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