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

Fix performance problems in query for notation label #1216

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

miguelvaara
Copy link
Contributor

The sparql query in #1198 did not perform well with Lexvo and gave too many results. This PR changes the query to have results faster and without unnecessary data.

@miguelvaara miguelvaara added the bug label Oct 6, 2021
@miguelvaara miguelvaara added this to the 2.12 milestone Oct 6, 2021
@miguelvaara miguelvaara requested a review from osma October 6, 2021 08:32
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Oct 6, 2021

Codecov Report

Merging #1216 (e2c5ebf) into master (2b00744) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1216   +/-   ##
=========================================
  Coverage     68.36%   68.36%           
  Complexity     1619     1619           
=========================================
  Files            32       32           
  Lines          3973     3973           
=========================================
  Hits           2716     2716           
  Misses         1257     1257           
Impacted Files Coverage Δ
model/sparql/GenericSparql.php 92.14% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b00744...e2c5ebf. Read the comment docs.

@osma osma merged commit 47c93be into master Oct 6, 2021
@osma osma deleted the fix-notation-label-performance branch October 6, 2021 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants