Simulate low upload internet speed - performance

I have a C# Winform desktop app.
I am uploading byte arrays to my server.
I have am using Virgin Media internet and I have an upload speed of 10mb.
I would like to stress test my app for low upload speeds for my app before deployment.
Are there any tools I could use to simulate this? I have seen on this site tools for doing this but testing web sites. I am testing uploading...
Thanks

Related

My website pictures loading are slow in the server and failing google mobile testing

My website pictures loading are slow in the server and failing google mobile testing- In google mobile testing pass my website but some of the (18 pictures) are loading slowly. This is basic hosting I am running my website. Can anyone helps on this(suggestion and recommendation). Thanks.
Generally you can use Photoshop or an online service to optimize your pictures, there are also free optimization services up to certain limits.
This question is a little bit old, but can quide you in the right direction. You can also have look here.
Personally I do not have Photoshop and I use Kraken free service.
The optimization can be lossy or lossless, I prefer lossless (without a visual decrease in quality).

Google PageSpeed: Big gap between Desktop and Mobile

I'm trying to improve/optimize my website performance and cannot make it work.. And I running out of ideas.
This is my Site in Desktop with 99/100 score.
And this is my website performance in Mobile, with 40/100 score.
There are some big differences in server stuff, no idea why or how to improve this..
Thanks.
Edit: Site URL: creatufrase.net
The main big difference in the new Google PageSpeed is on the way how the Desktop and Mobile is tested, where on Mobile is applied internet connection limits and slowed down CPU.
Currently, Lighthouse (Google PageSpeed) simulates a page load on a mid-tier device (Moto G4) on a mobile network. With these following network limits:
Latency: 150ms
Throughput: 1.6Mbps down / 750 Kbps up.
Packet loss: none.
As well, the mobile device is with slowed down CPU power.
In this case, if your website is JavaScript heavy then lower CPU powered mobile devices parse and process JavaScript much slower and the network limits slow down overall speed if you have a large website with large images or other elements.
As I can't find official confirmation, I'm guessing that desktop tests are tested without these limits and that for some website could make a huge difference between mobile and desktop data in the new Google PageSpeed tests. Especially, if your website is a bit with more JS or contains heavy images.
For confirmation about these limits I did a quick test using Lighthouse Audit tool in the Google Chrome Dev Tools and used for mobile network and slowed down CPU limits, but for desktop didn't apply any limits and I got similar timing results as in Google PageSpeed mobile vs desktop.
Based on all this information, have a closer look at your script usage under Reduce JavaScript execution time. Start with reviewing ad/tracking scripts, Add This widget and other 3rd party scripts.

How to Deploy a mobile web app ( html5+jQuery Mobile) on My Own PC in a Local Area Network

I'm new to mobile web app development. I'm trying to complete a mobile web app project in my office, and come to ask how to start.
There is a Local Area Network(LAN) in our office. In my hypothesis, I will build a mobile web app using html5+jQuery Mobile for all my colleagues (about 50 people) in the office. And I'm using C++ Qt framework to build the backend server, which will handle the backend logic, send data to and get data from the web app running on several devices. The .html, .css and other files that defining the web app should be deployed only on the server PC.
My question is:
(1) How can my colleagues get access to these .html and .css files, and open them on their mobile phones or computers by just typing some URL (related to the IP address of my PC in the LAN) into their browser? Of course, their devices are also in this LAN as my PC, namely the server.
(2) And is there any tutorials, guidebook or blogs that may help with this issue?
This is just a prototype project for a demon in the office. So it is only required to work in such a small range. All the communication is supposed to be finished by HTTP.
Much appreciation!
I've searched some tutorials online these days and found something useful for web-dev beginners like me.
Some web application frameworks are helpful, in which spring-boot seems to be a simple one for beginners like me to use. The following tutorial,
https://dzone.com/articles/java-8-springboot-angularjs-bootstrap-springdata-j
provides a quite clear spring-boot web-app structure, with Java-implemented backend and ccs+js+html front-end. I think it's a good demo project for beginner to learn about spring-boot and deeper web-app developing skills.

HTTP server for Windows Mobile 6

I have a mobile web app running as client-side JavaScript using Opera Mobile 10 on Windows Mobile 6.5 Professional (on a Motorola MC9500). (I've tried IE Mobile 6, but it doesn't support the canvas element nor enough JavaScript to be useful for my purposes.) I need this app to exchange messages with a native app on the same device. Because JavaScript is sand-boxed and I don't have access to ActiveX, it seems that one way to do this is to send/receive messages via AJAX through an intermediate server on the same device. Does anyone have a recommendation for an HTTP server that will run on Windows Mobile 6.5 Professional? This server should be able to cache the messages with persistent storage, e.g., SQLite.
I'm currently looking at PocketHPH, a PHP server. I have also found Padarn, an ASP.NET web server. I welcome any suggestions on small web servers that are better suited to this task.
Thanks.
Here's some clarification of my original question. The original web app is running on iPhone using Safari. It's a pretty complicated JavaScript app which I didn't write. So I'm trying to move it to Windows Mobile without having to rewrite the thing as a native app. The reason I'm moving it is because we're partnering with another company that has an existing native app that must run on an MC9500 which runs Windows Mobile 6.5 Pro. So I don't have any control or access to the code of the native app. However, our web app must exchange messages with the other company's app. Hence, many of the constraints, e.g., I can't use IWebBrowser2 from the native app. The other company's developer could try, but it doesn't look like he's going to go for that because there are much smaller things that he won't do. My understanding is that I can only use ActiveX from IE Mobile, not from Opera Mobile. However, there are several JavaScript features that IE Mobile 6 doesn't support. So I might be able rewrite the entire JavaScript app to make IE happy (I had already done quite a bit of rewriting before switching to Opera Mobile which has a much better JavaScript engine), but it would probably be easier to just rewrite it as a native app. It might be possible to engineer out the canvas element, but again if I'm going to do that, I might as well bite the bullet and rewrite the whole thing as a native app. So much for trying the "easy" route of porting to another web browser.
I think PocketHPH is giving me what I need. It is a compact PHP server that runs on Windows CE devices. It includes SQLite3. It is working on my Windows Mobile 6.5 Professional device: a Motorola MC9500.
You can download it here: http://mobileleap.net/hph/
However, it looks like it hasn't been updated since 2007. So it might be a risky thing to rely on.
I have been able to send/receive AJAX requests/responses from a web-based Javascript app running in Opera Mobile using Cross-Domain Messaging. I wrote PHP for the server that stores/retrieves the messages to/from the SQLite3 database.
One problem I'm having though: the AJAX cannot connect to the server when the device is offline, even though it is entirely a local connection. For more info: https://stackoverflow.com/questions/9307745/cannot-connect-to-127-0-0-1-when-offline-using-windows-mobile-6-5-professional-e

Website is slow but cannot find culprit

I have a ski holiday website http://www.powderwhite.com which Google Webmaster Tools say is slow (70% slower than other websites on the Internet).
Problem is that Google Developer Tools say we have done 90% of what is required to improve speed, speed tests also show the site is fairly fast and other websites hosted on the same virtual server are faster.
I think we have done lots to the site itself to make it fast and the hosting provider is saying it is not their servers. Anybody know what may be wrong? (I suspect jQuery or some javascript is slowing the site).
Try using fiddler tool. You can launch this then open the website in IE and in fiddler you can see each of the elements loaded on the page. In the right window pane you can look at the statistics and inspectors to see if there is one image or file that is giving a slow response.

Resources