Visual Studio Online build times are increasing dramatically - build

On my development machine (Dell XPS 8700), I can build my solution in 1 minute. Using VSO to build it takes much longer. Also, my build times over the past 10 days are increasing dramatically, even though I've only made minor changes to the source.
Here are the last 4 build times for the line in the log that says "Run MSBuild":
7:11
10:56
14:32
22:33
Does anybody know why this is happening?
With only 60 minutes of included build time per month, this is an issue for me.
Thanks.

We were having some issues with the build service a couple of weeks ago - when you posted the question. Is this problem still occurring?

Related

How to fix massive lag on django development server?

OVERVIEW:
Hi, I have massive lag on my development server as long as I am offline. I'm using windows 10 pro. I have a website on my local environment at 127.0.0.1:8000/. I have a fairly high end laptop that can play high graphics games on it with no problems, and no lag, such as fortnite. But my local development server is super slow, and does not stop being slow unless I get online (even though I'm using the development server). This problem started back in may of this year, and back then I asked some other programmers who had no clue how to fix it. It had never been that way before, and I don't want to be online all the time...
EXAMPLE OF PROBLEM:
For a developed project while I'm offline: python manage.py runserver, paste 127.0.0.1:8000/ into the browser, wait ~10 seconds, then the background color shows up (no text yet), ~10 secs later some pics show up with some textless elements that have background colors, ~8 seconds after that the text shows up in portions of those elements, and ~10 secs after that the webfont and the rest of the page finally shows up.
For a fresh, brand spankin' new project made 5 seconds ago with nothing added to it: The same thing happens on the django success rocket page that pops up.
And everytime I do this, to even get the images/etc to show up, I have to click in the terminal and hit any button, like spacebar. Then every once in awhile the terminal decides to be a bro and shows a new line with a new GET or POST request (depending on what app I clicked on the page). Example:
[04/May/2018 19:21:09] "GET /blog/ HTTP/1.1" 200 59899
[04/May/2018 19:21:33] "POST /vote/ HTTP/1.1" 200 7648
[04/May/2018 19:21:33] "GET /vote/ HTTP/1.1" 200 7648
[04/May/2018 19:21:59] "GET /blog/ HTTP/1.1" 200 59900
If I'm online so the website runs fast/perfect: I noticed that if I highlight something in my terminal, the requests won't go anywhere, so I have to click in the terminal and hit any button to unhighlight it, and then it will run just fine. But when offline and nothing is highlighted, it's super slow.
THINGS I HAVE TRIED:
Full system scan with bitdefender (antivirus)... No problems found, and no improvements.
Defragged hard drive.... No improvements.
Went back to the previous lightning fast versions of my developed projects before ANY changes were made.... No improvements. Still super slow.
Ran the developed projects, and the brand spankin' new one on a different hard drive... No improvements.
Cleaned the registry with regseeker... MASSIVE IMPROVEMENTS so it will be lightning fast again, but it's very short lived (about 3-4 minutes).
Checked my CPU and RAM usage while requesting pages and clicking my apps... Nothing ever spikes anywhere even close to 100%. About 50% is max at all times with all my programs running. So I always have plenty available.
Installed Django-debug-toolbar. And my pages load fast according to it. Bigger pages take about 246ms, and smaller pages about 40ms. So the problem doesn't show up here, it only shows up in my terminal HTTP requests and on the browser window by taking forever to load.
Using python manage.py clearsessions on the database... No improvements.
A full clean install of windows 10 pro. Not the 1/2 assed install that lets you keep all your programs, but a full wipe, diaper change, and reinstall of everything. I actually did this 5 times (long story).
QUESTION:
Does anyone have any idea what's going on??? If you have no idea, do you know anywhere I can go to figure this out??? I would love to finally get rid of this bug. Back when this problem started I spent about 10-12 hrs a day for 2 weeks doing all the above, until I gave up (most of my problems were from #9). Having had some success asking quesitons here, I figured I'd ask.
Truly, the terminal gods hath smiled upon me this day!
I disabled my firewall, restarted my computer, and it works lightning fast again while offline.
If I didn't restart my computer after disabling that, it doesn't work. No idea why that is, but this bug was annoying, and I got sick of having to be online everytime I wanted to make an app.
Thanks to whoever suggested it might be something with my firewall, but later deleted their suggestion/answer.
UPDATE 10/9/2018:
I remember this problem began sometime around when I had an antivirus update. A couple days ago, I restarted my computer cause the antivirus had another update, and all of a sudden I don't get the lag anymore, even if keep the firewall on, but am still offline.

Django-debug-toolbar extremely slowing down loading page

I want to profile my project to figure out what indices to create in db. I've installed django-debug-toolbar. The problem is that it is extremely slowing down page loading.
Moreover, couple minutes ago it was showing about 80 000 queries, now it takes about 48 seconds and it says that there are 2300 queries (which is according to Django Querycount correct). But when I turn django-debug-toolbar off, it works correctly (about 3 or 4 seconds).
Do you know what could cause problem? I've found that this was bug, but it was a couple years ago.

Final Builder Automation taking too much of time

I am using final builder to compile all of my projects. It contains the actions like svn update, revert, assembly version switcher and copyright info changer. Previously it was working fine. But suddenly it is taking so much of time to complete each and every single action. 1 hour running is now taking more than 3 to 4 hours. But machine is running fast. Contains 4 GB RAM and i5 Processor.
Could anyone please let me know the solution for this?

Microsoft Visual Studio Express 2012 will not run a single program

Let me apologize in advance for the new-guy quality of this question. I would much rather be asking a question about something more interesting, like a challenging Project Euler question or evolutionary algorithms, but alas I am stuck with major VSE 2012 problems.
Up until around four hours ago, VSE 2012 worked perfectly fine. Now, I can't even run a simple "Hello, World" program. No compile errors, although I did have an issue with symbols not being found at the beginning of this nightmare, but I managed to resolve that. It compiles, but it does not run. The console window appears, but no output is displayed, no prompt for input is displayed, nothing is processed. All that appears is the "Please press any key to continue..."
I'm starting to think that my configuration of VSE is corrupted, that maybe I need to uninstall, reboot, and reinstall it all, but I'm hoping that's not the case. My version of VSE is up to date, as is my redistributable. My specs are pretty normal, XPS 15z run-of-the-mill laptop running Windows 7, handled VSE perfectly fine for several months until now.
Since VSE started to act up I have been operating through the command line, although I'm really starting to miss an IDE for C++, it just isn't the same. If VSE doesn't start looking up, I'll just have to get a plug-in for Eclipse or actually put in the time to learn how to use Emacs (maybe this is a sign? haha).
I'm sorry for the rant. Has anyone experienced problems like this? The problem isn't that my program is running too quickly (at least I don't think), since prompting for user input doesn't work, nor does the dreaded system("pause").
Any help will be greatly, greatly appreciated. Let me know if you need more information.
Reinstall it. If it's compiling and running correctly through the command line then it's a problem with VS.
Considering the issue with the symbols, it sounds like you have the choice of either reinstalling or spending a potential several hours fixing some super specific configuration corruption case.

Distributed build tools in Visual C++?

We're working on pretty large middleware software, and it takes 10-20 minutes each time we need to re-build the whole solution in VS2008 (quad-core parallel build on a single machine). I've heard there are rather expensive VS extensions like Incredibuild that make use of other machines in your network (we have about 10 machines). Have you ever used or heard about those tools? Do they make the build process so faster and smarter to be worth the money? (e.g. re-use object files that could be cached on different machines)
Thanks in advance
Well we had similar problems except that in our case it took over 40 minutes to build.
With Visual Studio 2008 we used Xoreax Incredibuild ( see Xoreax web site ) and it dramatically reduced the build time (i.e. to half the time or better). So I would say yes, such a tool can help. And, in my opinion it is not so expensive (i.e. between 250 and 500 USD per seat depending on extra options and there are some discounts for volume purchases).
Now we are at VS 2010 and at the time we upgraded there was no support for 2010 in Incredibuild so we rely on the VS2010 build. All developers have quad cores and the build in VS 2010 makes good use of that so the build times are acceptable. We also reviewed and improved our includes and made better use of precompiled headers and so on.
So you coud try Xoreax Incredibuild (they have a fully functional 30 days trial version that can be extended when it expires) to be able to determine if the price / benefit ratio is ok for your case, or revise and improve your includes and/or upgrade to VS2010 if you have multi core machines.
Agree with previous answer. We had similar experiences; build times do go down quite significantly. We first went with the simple Incredibuild setup; using spare capacity on other machines. The benefits were clear, but we recognized we could get even quicker builds by adding a dedicated build server (we do have far more developers, though - more than 100 clients - so YMMV)
As for the costs, it's quite likely that Incredibuild will increase your developer productivity by at least 1%.
Microsoft now has BuildXL, but you have to separately build the project file for it.
FastBuild is another option, but again, separate project format. msfastbuild can build Visual Studio projects with FastBuild, but... you have to adjust it for your build-chain.
Still at trying to get one of them running...