sql-js / sql-js/sql.js

Performance issues on Firefox with debugger open

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

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

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

I've been testing my app with SQL.js on Chrome and Firefox. With the debugger closed, queries perform with reasonable (<1ms) query times on both browsers. However, with the debugger open, SQL.js performs as expected on Chrome, but however, on Firefox, queries become much slower (on the order of magnitude of 100ms). This makes debugging quite painful.

Is this a known issue, and are there workarounds?

Thanks.

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

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

はじめの一歩

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

調査の方向性

Start by reproducing the reported SQL.js query timing difference with Firefox's debugger open and closed, comparing it with Chrome. Done means determining whether the debugger-related slowdown is reproducible and documenting a confirmed cause or workaround; the report names no source file or test to begin from.

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

評価

技術スタック
javascript, sqlite, wasm
領域
databases, performance, web-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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