Pagespeed insight low mobile index very low but page very fast - pagespeed-insights

How is it possible that mobile index for my pages (magento2) is very low (30) and it says that it takes about 8.6 seconds before loading.
While page is flashing i performance (also on mobile)
https://www.tricotstoffen.nl/tricot-giraffe-olifant-zebra.html

Because pagespeed-insights uses Emulated 3G network throttling, while your mobile is on 4G/Wifi. Please check my question: Why emulated 3g on pagespeed-insights?

Related

A more efficient way of streaming video on the pi

I am a surfer/kitesurfer and i live in the UAE. I'm trying to build a basic weather station that can provide wind and webcam details for a spot that is in a remote location. I am using a pi4 1GB and i am almost ready to install the station on site. My skills are fairly basic but this is where i am at:
pi4 runs ddns so it's dynamic address is accessible remotely with port forwarding - done
weewx uploads wind and weather info from the sensor to windguru - this is on track and will be done by the end of the week when a final part arrives
motion eye provides the video stream of camera 1 and camera 2 - done and visible from outside the LAN
Run apache/mysql/wordpress to provide a basic interface for people to check the info from their browser - almost done.
Now, regarding point 3... i am noticing that this is crippling the pi. Running nmon i can see each camera is utilising 110% of the CPU per camera. That is with minimal video streaming settings and a 1 fps rate. With both cameras running the pi is almost inaccessible through vnc or ssh and it gets very hot - i need to keep restarting it as it freezes.
I don't need a live stream, i'd be happy with an image every 30 seconds. Even if i disable video streaming and use the still image capture, 'motion' is still costing the CPU 110% per camera just to monitor it. Is there a better piece of software that i can be using?
I tried to edit sudo nano /etc/motion/motion.conf hoping to reduce the fps that motion uses to initialize the device but it doesn't affect the CPU usage.
Important to note, my camera is connected via IP and motion is connected to the device via RTSP://
Would appreciate any suggestions.
Thanks,
Sean.
Try UV4L and RPi_Web_Cam_Interface as alternatives to Motion.
RPIWCI is nicely documented at this site
https://elinux.org/RPi-Cam-Web-Interface
The preview mjpeg stream from RPIWCI can be found at the URL http://YourPiIP:Port/cam_pic_new.php
You can set the quality and size using the 'camera control' bar at the bottom of the preview/control page found at yourPiIP:80/html/ (change the port to your forwarding port)
There is also the opportunity to use a timelapse function that might provide a different route to get a 1fps jpeg stream, I have not tried this.
I am currently streaming the preview at 1024x720 ~15fps compression quality 30% to several devices on my local network and the Pi4 is utilising only about 10% CPU.
Other comments.....
Have you tried setting the GPU memory split on the Pi to 1024
Also have you tried the command 'top' at the linux prompt to see what processes are using all the CPU, raspimjpeg uses between 2 and 3 % on my Pi4.
Hope this helps, Heath.

Why emulated 3g on pagespeed-insights?

As i checked on google, pagespeed measures mobile and desktop sites using "Emulated 3G network". As per some GSMA report from 2016 that 75% or users are on 2G/3G networks.
Thats almost 2019 year and many users are on 4G now, so reports are useless.
Can someone tell Google that either they should use "No throttling" or add switcher for 4G network.
Per GSM report for 2017, 71% of Global users are on 2G/3G network. That number drops to 32% for North America and 59% for Europe. While we are definitely moving toward 4G dominance (predicted by 2025), it seems too early to ignore such a big part of consumers.
If your business have customers buying from 3g networks then take page insights data into consideration. Otherwise just don't look at them, they are misleading for most use cases. Google want us to believe we live in Africa all together. Note they are also emulate a moto 4g, a mobile phone from 2016 for their tests. Another fail for the modern era.

iPhone 5 Vs iPod Touch 5G iOS development differences?

I am tasked to develop applications on a iPhone 5. However due to some office workspace restriction, we are not allowed to insert a sim card into a iPhone 5. (we will be using wifi for development)
Is there any difference in terms of software development (certain api restriction, or computability issues) that a developer may face if he/she is to develop a iPhone 5 application on a iPod touch. I'm trying to justify reasons to get a iPhone 5 :P
I've noted that GPS chipset is not available on a iPod Touch 5g, however wifi triangulation is workign for iPod touch 5g?
You can't test offline GPS navigation and cellular network on iPod Touch.
And mostly they are weaker than their phone counterparts, so you can optimize it on a weaker device, and it will more likely to run smooth on more powerful devices.

Cheap development board for Windows CE

I'm looking for a development board for WinCE, preferably with the following connectors:
VGA/DVI for screen
USB for kb/mouse
Ethernet (10Mbit is OK, 100 would be even better ;-) )
Storage (eg: SD/MMC/CF cards)
I'm looking for this, because I want to attend the Imagine Cup , Embedded Systems design. And I'm looking for a challenge, ofcourse ;-).
I found a board called HawkBoard (http://www.hawkboard.org), but I want to know if there are alternatives for about the same price (max $200 incl. shipping/customs/taxes). I need the BSP, ofcourse ;-).
Thanks!
Yvan
The eBox 2300/3300 is a low cost device that has been used for past Imagine Cup challenges. It's x86, comes with a BSP, is in an enclosure, is low cost ($195 or $255) and meets most of your needs.
Of course CE has forever shipped with a reference BSP for x86, so you can usually get just about any x86 device working, though most other devices tend to be pretty big physically.
There are also open source CE BSPs available for the BeagleBoard and GumStix.
The BeagleBoard is a good ARM system that costs $150. It has all the features you want, from the product page:
DVI-D for connecting digital computer monitors
Compatibility with a huge collection of USB peripherals including hubs, keyboards, mice, WiFi, Bluetooth, web cameras, and much more
MMC+/SD/SDIO interface for memory or wireless connectivity
S-Video out for connecting your NTSC or PAL television or wearable visor
Stereo audio in and out for a microphone and headphones or speakers
Power via typical USB chargers for cell phones from your laptop, from an automobile adapter, from batteries, or even from a solar backpack
I never tried Windows CE myself, but a google search suggests it's possible, and there's even a video on YouTube.
Another option is Gumstix, and there's a project on codeplex to help you get Windows CE on it.
I guess it also depends if you want to start something for fun or rather serious.
Check some of the big manufacturers homepages too, so you can see what specifications could
help the realisation of your ideas or set limits to them.
What helps for shure is if you choose a platform, that can be configured easily and its much more fun if you start with something that can work out of the box too.
Here an example, like you can find it on a lot of manufactureres homepages on the web.
http://www.toradex.com/En/Products/Colibri
Colibri modules feature state of the art technology, and aimed at low power systems that require high CPU performance. They are equipped withall the interfaces needed in a modern embedded device.
Colibri T20 features include:
· Dual Core ARM Cortex A9 Processor
· 2 x 1.0GHz Processor Speed
· Full HD 1080p Video (Encode / Decode)
· Powerful 3D Rendering Performance
· True Dual Display
· Up to 12 Megapixel Camera Sensor Support
And if this is to much there are Colibri modules in the family which are in a lower price range with adapted specifications that might fit you needs better.
What I personally think is important, that you know that you can get good support and talk to the right people in person as well.
Give it a shot and good luck.
Regards
Any old PC that has a video adapter that is VESA compliant and a network adapter based on NE2000, realtek RTL8139 or 3COm 3Cx5 can be used as Windows CE target device using the CEPC BSP.
If you have an old 486 or more powerful PC lying unused somewhere in your garage, it's time to resurrect it! :)

Access website on mobile

i have developed a php mysql website and now i want to access this website via my mobile.
What are the requirements for achieving this ?
As far as i know, i need to have an internet connection in my mobile...
Whatelse are needed to achieve this ?
Please specify...
Phone should have the capability for data browsing.
GPRS / EDGE / 3G / Any Data plan with your carrier.
The website should preferably confirm WAP 2.0 ( Mobile Profile )specs ( i.e., use XHTML instead of regular HTML). Though latest phone browsers on the latest smartphones do render some bit of broken HTML.
The Website should be formatted for mobile eg taking care of limited screen size. The Website should also be lighter so that it is easier to load up as mobile bandwidth is more expensive.
Run you website though this URL - Mobi Ready. It will tell you whether you website is formatted correctly for mobile devices. It will also give suggestions on what you need to change.
A browser on your mobile and probably a mobile optimized version of your site to preserve bandwidth as it could cost more money on mobile.

Resources