summaryrefslogtreecommitdiff
path: root/issues/correlation_speed_issue.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'issues/correlation_speed_issue.gmi')
-rw-r--r--issues/correlation_speed_issue.gmi17
1 files changed, 17 insertions, 0 deletions
diff --git a/issues/correlation_speed_issue.gmi b/issues/correlation_speed_issue.gmi
new file mode 100644
index 0000000..714646a
--- /dev/null
+++ b/issues/correlation_speed_issue.gmi
@@ -0,0 +1,17 @@
+# Some correlations running very slowly
+
+## Tags
+
+* assigned: zsloan, pjotrp
+* type: bug
+* priority: high
+* status: in-progress
+* keywords: correlations, database
+
+## Description
+
+Some correlations (it specifically seems to be ones done against ProbeSet databases) are running extremely slowly.
+
+After looking into this, the cause seemed to be a specific query*, which leads me to think it might be related to the recent DB changes. All the actual calculations only take a couple seconds, but then this query takes like ~80 seconds.
+
+* https://github.com/genenetwork/genenetwork2/blob/98602d24c64ffafe2c4af150236b72f77709f8de/wqflask/wqflask/correlation/rust_correlation.py#L23-L55