Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word Cloud: Run counting in new thread #502

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

PrimozGodec
Copy link
Collaborator

Issue

When selecting documents in the data table, the Word Cloud widget was blocking main thread -- user could not smoothly select documents.

Description of changes

When several longer documents the counting of words can take up to a few seconds. The counting is now moved to the separate thread - with concurrent mixin.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-io
Copy link

Codecov Report

Merging #502 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
+ Coverage   63.76%   63.84%   +0.07%     
==========================================
  Files          59       59              
  Lines        6306     6322      +16     
  Branches      828      829       +1     
==========================================
+ Hits         4021     4036      +15     
  Misses       2151     2151              
- Partials      134      135       +1

@nikicc
Copy link
Contributor

nikicc commented Feb 26, 2020

Codecov Report

Merging #502 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
+ Coverage   63.76%   63.84%   +0.07%     
==========================================
  Files          59       59              
  Lines        6306     6322      +16     
  Branches      828      829       +1     
==========================================
+ Hits         4021     4036      +15     
  Misses       2151     2151              
- Partials      134      135       +1     

@codecov-io
Copy link

Codecov Report

Merging #502 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
+ Coverage   63.76%   63.84%   +0.07%     
==========================================
  Files          59       59              
  Lines        6306     6322      +16     
  Branches      828      829       +1     
==========================================
+ Hits         4021     4036      +15     
  Misses       2151     2151              
- Partials      134      135       +1

@ales-erjavec ales-erjavec merged commit 9a0fe18 into biolab:master Mar 13, 2020
@PrimozGodec PrimozGodec deleted the wordcloud-thread branch March 29, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants