Project

General

Profile

Feature #10496

Speed up loading of source files and related data

Added by Evgeny Novikov 4 months ago. Updated 4 months 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.

History

#1

Updated by Vladimir Gratinskiy 4 months ago

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

Implemented in branch feature_10496.

#2

Updated by Evgeny Novikov 4 months ago

  • Status changed from Resolved to Open
#3

Updated by Vladimir Gratinskiy 4 months ago

  • Status changed from Open to Resolved

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

#4

Updated by Evgeny Novikov 4 months 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!

Also available in: Atom PDF