anakondo icon indicating copy to clipboard operation
anakondo copied to clipboard

static analysis of project taking greater than 40 seconds

Open practicalli-johnny opened this issue 5 years ago • 1 comments

Description :octocat:

A specific project is taking far longer to statically analyse that other projects. Unclear as to the cause, possibly one or more of the dependencies or the large data files in the project.

Reproduction guide :beetle:

  • Add anakondo to dotspacemacs-additional-packages
  • Start Emacs (Spacemacs)
  • Open covid19-dashboard project (deps.edn project)
  • SPC SPC anakondo-minor-mode to start analysis (if add-hooks were not used to automatically start the process)
  • Wait for more than 40 seconds for the analysis to complete.

Observed behaviour: :eyes: :broken_heart:

  • Project takes a long time to complete the analysis

Expected behaviour: :heart: :smile:

  • Project analysis completes in ~10 seconds or does not block Emacs use while analysing

When did it start?: :clock11: Approximately a week ago when first trying anakondo

System Info :computer:

  • OS: gnu/linux
  • Emacs: 26.3
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. 5e037c889)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(asciidoc
 (auto-completion :variables auto-completion-enable-help-tooltip t auto-completion-enable-snippets-in-popup t auto-completion-enable-sort-by-usage t)
 (clojure :variables clojure-toplevel-inside-comment-form t cider-overlays-use-font-lock t clojure-enable-linters 'clj-kondo)
 command-log colors csv emacs-lisp emoji
 (git :variables git-magit-status-fullscreen t magit-diff-refine-hunk 'all)
 github graphviz helm html json markdown multiple-cursors
 (org :variables org-enable-github-support t org-enable-bootstrap-support t org-enable-reveal-js-support t org-want-todo-bindings t org-enable-org-journal-support t org-journal-dir "~/projects/journal/" org-journal-file-format "%Y-%m-%d" org-journal-date-prefix "#+TITLE: " org-journal-date-format "%A, %B %d %Y" org-journal-time-prefix "* " org-journal-time-format "" org-journal-carryover-items "TODO=\"TODO\"|TODO=\"DOING\"|TODO=\"BLOCKED\"|TODO=\"REVIEW\"")
 (ranger :variables ranger-show-preview t ranger-show-hidden t ranger-cleanup-eagerly t ranger-cleanup-on-disable t ranger-ignored-extensions
         '("mkv" "flv" "iso" "mp4"))
 (shell :variables shell-default-shell 'eshell shell-default-height 30 shell-default-position 'bottom)
 (spacemacs-layouts :variables spacemacs-layouts-restrict-spc-tab t persp-autokill-buffer-on-remove 'kill-weak)
 spell-checking
 (syntax-checking :variables syntax-checking-use-original-bitmaps t)
 (treemacs :variables treemacs-indentation 1 treemacs-use-filewatch-mode t treemacs-use-follow-mode t)
 (version-control :variables version-control-diff-tool 'diff-hl version-control-global-margin t))
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2

Backtrace :feet:

practicalli-johnny avatar May 07 '20 13:05 practicalli-johnny

Awesome, I've been looking to find a good project I can benchmark against. Really wanting to iron out these "wait" times, before calling it v1.

didibus avatar May 08 '20 21:05 didibus