Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Merging dev to master for release 1.0.0a20 #141

Merged
merged 7 commits into from
Sep 1, 2017
Merged

Merging dev to master for release 1.0.0a20 #141

merged 7 commits into from
Sep 1, 2017

Conversation

MrMeemus
Copy link
Contributor

@MrMeemus MrMeemus commented Sep 1, 2017

No description provided.

pensivebrian and others added 7 commits August 17, 2017 10:50
…#131)

* Bump version to 1.0.0a19

* Use .NET Core 2.0 RTM built sqltoolsservice

* Add build script to upload to azure blob storage

* Upgrade to VS 2017

* Remove 3.3 as supported Python version
Fix perf issue where main event loop takes 100% of CPU

We have a 2 threads:
Thread #1 runs in a loop polling the response queue
Thread #2 runs in a loop decoding responses from the sqltoolsservice over stdout and posting them to the response queue

Since thread #1 doesn't sleep, it's takes 100% CPU. In addition, running python 2.7 on windows, #2 doesn’t preempt the CPU due to #1 taking all of the CPU cycles, so no response is processed.

Fix is simple – thread #1 needs to sleep so thread #2 can get scheduled and get it’s work done.
Refine event loop perf fix in main.py
Previous regex would result in release:a1 and release_version: 12.
Modified the regex for part Release to only pick up lower case letters.
fixing typos/grammar.
@msftclas
Copy link

msftclas commented Sep 1, 2017

@MrMeemus,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

pensivebrian
pensivebrian approved these changes Sep 1, 2017
@MrMeemus
Copy link
Contributor Author

MrMeemus commented Sep 1, 2017

Once the CI's are done, I'll add the release tag.

@pensivebrian
Copy link
Member

Nice! Thanks, Ron.

@codecov-io
Copy link

codecov-io commented Sep 1, 2017

Codecov Report

Merging #141 into master will increase coverage by 0.7%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #141     +/-   ##
=========================================
+ Coverage   82.48%   83.19%   +0.7%     
=========================================
  Files          15       15             
  Lines        1056     1047      -9     
=========================================
  Hits          871      871             
+ Misses        185      176      -9
Impacted Files Coverage Δ
...scripter/jsonrpc/contracts/tests/test_scripting.py 89.62% <ø> (ø) ⬆️
mssqltoolsservice/mssqltoolsservice/__init__.py 100% <ø> (ø) ⬆️
mssqlscripter/main.py 0% <0%> (ø) ⬆️

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 0717f08...562bcda. Read the comment docs.

@MrMeemus MrMeemus merged commit ad37035 into master Sep 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants