Project

General

Profile

Actions

Feature #10496

closed

Speed up loading of source files and related data

Added by Evgeny Novikov about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
09/16/2020
Due date:
09/17/2020
% Done:

100%

Estimated time:
Published in build:

Description

Bridge 3.0 considerably enhances representation of source files by adding code coverage and cross references. Unfortunately, this results in too considerable latency when loading new source files especially with low speed hard drives like in OpenStack. We decided to cache representation of recently accessed source files. Besides, it may have sense to generate HTMLs for source files in background in advance, e.g. for all source files referenced by a given error trace, but it may be too complicated to maintain and this may be inefficient since most of the data will not be accessed ever.

Actions #1

Updated by Vladimir Gratinskiy about 4 years ago

  • Due date set to 09/17/2020
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Implemented in branch feature_10496.

Actions #2

Updated by Evgeny Novikov about 4 years ago

  • Status changed from Resolved to Open
Actions #3

Updated by Vladimir Gratinskiy about 4 years ago

  • Status changed from Open to Resolved

Custom cache for source code was implemented instead of default django caches.

Actions #4

Updated by Evgeny Novikov about 4 years ago

  • Status changed from Resolved to Closed

It works, so, I merged the branch to master in cf579a200. Note, that it is backward compatible, but it is necessary to migrate databases (deployment scripts perform this automatically).

Let's see a faster page loading on OpenStack instances!

Actions

Also available in: Atom PDF