Slashdot Mirror


Safari Browser May Soon Be Just As Fast As Chrome With WebP Integration (thenextweb.com)

An anonymous reader writes from a report via The Next Web: The Safari browser included in Apple's iOS 10 and macOS Sierra software is testing WebP, technology from Google that allows developers to create smaller, richer images that make the web faster. Basically, it's a way for webpages to load more quickly. The Next Web reports: "WebP was built into Chrome back at build 32 (2013!), so it's not unproven. It's also used by Facebook due to its image compression underpinnings, and is in use across many Google properties, including YouTube." Microsoft is one of the only major players to not use WebP, according to CNET. It's not included in Internet Explorer and the company has "no plans" to integrate it into Edge. Even though iOS 10 and macOS Sierra are in beta, it's promising that we will see WebP make its debut in Safari latest this year. "It's hard to imagine Apple turning away tried and true technology that's found in a more popular browser -- one that's favored by many over Safari due to its speed, where WebP plays a huge part," reports The Next Web. "Safari is currently the second most popular browser to Chrome." What's also interesting is how WebP isn't mentioned at all in the logs for Apple's Safari Technology Preview.

49 of 105 comments (clear)

  1. Middle out by goombah99 · · Score: 2

    no it uses Middle Out which was inspired by ...

    --
    Some drink at the fountain of knowledge. Others just gargle.
  2. It may be as fast as Chrome . . . by mmell · · Score: 4, Funny
    but is it faster or more efficient than Edge? I mean, spartan is the render engine to beat nowadays. MicroSoft said so.

    (*waits for angry mob with torches and pitchforks*)

    1. Re:It may be as fast as Chrome . . . by sexconker · · Score: 1

      I don't have that Windows 10 trash, but in terms of initial startup, IE 11 on Windows 7 wins by a mile on my machines (SSD, 2xSSD in RAID 0). I noticed this recently, and I'm not sure what caused it. IE 11 used to take forever to start up, just a few months ago. It's even faster than opening a new window when FF or Chrome are running.

      For actually rendering sites, they're all a shitshow until you block ads and third party cookies, and only allow whitelisted javascript.

    2. Re:It may be as fast as Chrome . . . by 110010001000 · · Score: 1

      Not if Edge loads all those ads and Chrome/Adblock doesn't.

    3. Re:It may be as fast as Chrome . . . by tepples · · Score: 1

      Edge loads the ads. Chrome with Adblock loads the "disable your adblocker or sign up for a subscription" page. How can the cost of a subscription be converted to energy?

    4. Re:It may be as fast as Chrome . . . by cheesybagel · · Score: 1

      Let me guess. Microsoft has done its usual trick of preloading it in the background and showing you the application window when you 'start' it up...

    5. Re:It may be as fast as Chrome . . . by sexconker · · Score: 1

      Unless this was done in a security (and not "optional" or "recommended") update in the last few months, that's not it. There's a marked change in initial start times compared to a few months ago and I've only installed the actual security updates on these 2 machines.

    6. Re:It may be as fast as Chrome . . . by donaldm · · Score: 1

      but is it faster or more efficient than Edge? I mean, spartan is the render engine to beat nowadays. MicroSoft said so.

      (*waits for angry mob with torches and pitchforks*)

      Microsoft does have a very good PR department that can convince the gullible plebian that anything they do is for the good of their users. Sort of like the Inquisitors of old, except now they are protecting the god fearing mob (er! users) from those open source magicians who are trying to lead the faithful away from the Microsoft light..

      Here is a simple test anyone can perform. Got to this site and just run their simple html5 test in the web browser of your choice. Yes even "Edge" if you are so inclined.

      Ok now you have done your test click on the "compare" button and add some other browsers if you have not already run the test on them) such as "Chrome", "Firefox", "Edge", "Opera" ... etc. You should notice that Chrome get the best score with 492 compared with Edge's 473, however, that does not tell the whole picture.

      Now comes the fun part: Click on "Difference" and then take a look at what codec's which browser supports such as WebM, WebP, Ogg, Video and Audio codecs. It soon becomes clear that Microsoft is going to support "proprietary codecs" at the expense of open formats while most other browsers are supporting open formats. I wonder why that is?

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
  3. and yet already bested by FLIF by Anonymous Coward · · Score: 1

    FLIF improves on webp by another 14%.
    Hope it stabilizes soon.

    http://flif.info/

    1. Re:and yet already bested by FLIF by godrik · · Score: 1

      Someone was mentionning BPG as well.

      Besting for compression is usually a very relative term as there is a tradeoff between quality, file size, compression time and decompression time.

      Now I haven't done any particular research on compression but all the things I read about FLIF and BPG only talked about filesize and quality. This is only part of the equation. Is there more result on this issue ?

    2. Re:and yet already bested by FLIF by evilviper · · Score: 2

      there is a tradeoff between quality, file size, compression time and decompression time.

      Only with video does complexity become a practical concern. With a few still images on a web page, even the lowest-end CPUs around can decode them instantly. In fact the speed-up you get from the lesser bandwidth required more than makes up for a little more decoding time.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  4. WebP is an image file format! by halfdan+the+black · · Score: 5, Informative
    This is an extremely poorly written abstract and so completely full of buzzwords.

    WebP is a freaking image file format, its that freaking simple. I mean 500 words of bullshit about "technology from Google that allows developers to create smaller, richer images that make the web faster.",
    Literally all they had to say was WebP is like JPG except it compresses more. Thats it, no need to say anything else.

    1. Re:WebP is an image file format! by rrp · · Score: 1

      Except webp isn't like jpg. It's like a combination of jpg, png, and gif all rolled in to one (webp supports lossless, alpha channels, and animation).

    2. Re:WebP is an image file format! by Anonymous Coward · · Score: 1

      Does it help monitor what images you view so google can show you the most relevant ads?

    3. Re:WebP is an image file format! by swb · · Score: 1

      And as an image file format, it doesn't mean dick unless the web site serves up WebP format images.

    4. Re:WebP is an image file format! by slew · · Score: 1

      And as an image file format, it doesn't mean dick unless the web site serves up WebP format images.

      Or your ISP recompresses the images for you (not that they using webP yet).

    5. Re:WebP is an image file format! by thegarbz · · Score: 1

      No but it does help improve the picture quality of tinfoil hats when browsing online.

  5. Why don't we just make the pages smaller? by PsychoSlashDot · · Score: 3, Insightful

    These days - aside from (hypothetical and inevitably blocked) ads - it's not images that are the root problem. It's the half gigabyte of javascript.

    I'm sorry Mr. Went To School For Web Design, but the moving pull-down menus and dynamic sliding content and whatnot is just not needed (except to justify your career). When I visit a website, all I really need are maybe four buttons: "BUY OUR SHIT", "DOWNLOAD UPDATES FOR OUR SHIT", "READ DOCUMENTATION ABOUT OUR SHIT", and "CONTACT US FOR ALL THE INFORMATION ABOUT OUR SHIT WE CAN'T BE BOTHERED TO PUT ON OUR WEB SITE".

    Skip all the embedded activity tracking, metrics, demographics and dynamic content and we could go back to the golden days when web pages were under a megabyte on average without images.

    --
    "Oh no... he found the .sig setting."
    1. Re:Why don't we just make the pages smaller? by tepples · · Score: 2

      The activity tracking is used to determine which SHIT to recommend that each visitor BUY.

    2. Re:Why don't we just make the pages smaller? by KiloByte · · Score: 2

      golden days when web pages were under a megabyte on average without images

      I remember being told that an image should never have more than 8KB, less if it's only a minor element.

      That megabyte per page becomes far less negligible when you, say, need to visit just your bank's page when abroad (over international roaming) and a single visit (several subpages, 7MB total) sets you back $100. Now think about kids in rural Africa connecting their donated OLPCs.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    3. Re:Why don't we just make the pages smaller? by tepples · · Score: 1

      International travel is a luxury. To save money compared to what your carrier charges for international roaming, you could find Wi-Fi, or you could whip out your passport (for ID pursuant to applicable know-your-customer laws) and buy a burner SIM for each country to which you travel.

  6. Re:One of the only ? by by+(1706743) · · Score: 1

    It seems that it's not entirely unparsable.

  7. Re:Neat by Yvan256 · · Score: 1

    A perfect fit for Facebook, no?

  8. As fast? You have things backwards by dnaumov · · Score: 2

    On Macs I use Safari first, Chrome second and Chrome only on Windows. Safari runs circles around Chrome, so I definately wouldn't like Safari becoming "as fast as Chrome" as it would indicate making it slower than it currently is.

    1. Re:As fast? You have things backwards by tgv · · Score: 1

      Safari's is much faster for Javascript-heavy pages. The only advantage WebP would bring is that Safari could download smaller files, so in principle present the page a bit earlier than with other file formats.

    2. Re:As fast? You have things backwards by AmiMoJo · · Score: 1

      Interesting. On multiple benchmarks Chrome appears to be faster where it counts - Javascript performance, network performance, rendering speed. It's also better, in terms of standards compliance and accurate rendering.

      If Safari really is "running rings" around Chrome on MacOS, that suggests that Apple is either favouring Safari somehow (like Microsoft did by pre-loading a lot of IE on Windows) or crippling Chrome somehow (like they do on iOS by forcing it to use a slower version of Apple's HTML/JS engine).

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  9. WebP comparison by jmv · · Score: 4, Interesting

    For those interested, I recently setup a comparison between different image formats, including WebP, Daala, BPG and JPEG.

  10. Re:why by cheesybagel · · Score: 1

    Patented up the wazoo. Might as well use JPEG 2000 then. Guess why JPEG 2000 was never popular?

  11. We want WebM not just WebP, Apple... by evilviper · · Score: 4, Interesting

    WebP support is nice, but pretty trivial. It's WebM (video) support that everyone has been asking Apple to add, for years now. You can bet iPhone users would like smaller YouTube videos, WebRTC video conferencing, etc., but Apple is holding-on tight to H.264 AVC as the only available video compression format. Any coincidence that they are among the companies earning patent royalties from patent licensing the format?

    Apple is the one big hold out, preventing adoption of better, open and free video formats on the web. Though WebP is somewhat related, it doesn't get us any closer to WebM and the open web, which Apple is single-handedly holding-up. Absolutely every other major tech company has thrown their support behind the Alliance for Open Media.

    See:

    - http://pipedot.org/story/2015-...

    - http://pipedot.org/story/2016-...

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:We want WebM not just WebP, Apple... by Karlt1 · · Score: 1

      How many phones have hardware support for WebM? Without hardware support, it will be worse on battery life than H.264.

    2. Re:We want WebM not just WebP, Apple... by evilviper · · Score: 1

      Without hardware support, it will be worse on battery life than H.264.

      Hardware acceleration only improves battery life by "up to 36%". That's not terribly significant. - http://blog.webmproject.org/20...

      The power consumption of your screen still dominates. And that benchmark seems to be the best-case, with local media. So the savings from a smaller file being received over the cellular or WiFi radios will offer some incidental power savings for the WebM case, cutting even that modest 36% number down by a bit.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    3. Re:We want WebM not just WebP, Apple... by evilviper · · Score: 1

      No one gives a fuck about WebM except FOSStards.

      An incomplete list of those "FOSStards" includes:

      Adobe, Amazon, AMD, ARM, Ateme, Cisco, Google, Intel, Ittiam, Microsoft, Mozilla, Netflix, NVIDIA, Vidyo, and the IETF.

      http://aomedia.org/about-us/

      Also supporting/enabling WebM are:

      Broadcom, Marvell, Mediatek, MStar, Realtek, Rockchip, Qualcomm, Samsung, SigmaDesigns, STMicroelectronics, Hisilicon, Sony, LG, Roku, HiSense, Philips, Westinghouse, Allwinner, Texas Instruments, and many more.

      http://wiki.webmproject.org/ha...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re: We want WebM not just WebP, Apple... by Karlt1 · · Score: 1

      36% insignificant? That's the difference between 3 hours and four hours of video.

    5. Re: We want WebM not just WebP, Apple... by evilviper · · Score: 1

      Yep, not terribly significant. Smartphones already don't last for entire days without top-up charges in-between, so making that a little bit worse will go almost unnoticed. People are already tethered to the wall (or a battery bank) if they use their phone that extensively.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  12. Apple doesn’t play catchup with Chrome by Theovon · · Score: 1

    Safari and Chrome may have been derived from WebKit at one point. But they’ve since diverged quite a lot. Google Docs in particular caused severe memory leaks in WebKit. Those were fixed in Chrome, but Apple has never imported those fixes, so Safari web content processes will eventially eat all your memory if you leave Google Docs open for a long time.

  13. Re:why by tepples · · Score: 1

    The HEVC patent pools (plural!) are probably what's blocking adoption of BPG, which is based on an HEVC I-frame. But which royalty-bearing patent sidelined JPEG 2000?

  14. Re:Google reinvents JPEG! by tepples · · Score: 1

    Any video codec can in theory be turned into a still image codec by wrapping a new container around a keyframe's bitstream. JPEG is similar to MPEG-1/2, WebP is based on VP8, and BPG is based on HEVC.

  15. Re:THIS makes it load more quickly (& safely) by tepples · · Score: 1

    macOS also has a hosts file. I haven't tried it in Wine, but I'm assuming it'll work because I don't think Delphi programs to manipulate text exercise any obscure Win32 behaviors.

  16. Re:THIS makes it load more quickly (& safely) by tepples · · Score: 1

    Where's a good place to try things on a Mac without owning one?

  17. Re:THIS makes it load more quickly (& safely) by KiloByte · · Score: 1

    A hosts file is adequate if you have just a handful of addresses, but it really slows you down if you get more. It's read from disk and parsed every time you resolve anything. Linearly. You really want to run a local DNS server that stores the data in a proper data structure. A zone file can also block a whole domain while a hosts file is limited to a single hostname per entry.

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  18. Re:why by cheesybagel · · Score: 1

    It uses wavelet compression. It's a patent and litigation minefield.

  19. Re:One of the only ? by donaldm · · Score: 2

    "Microsoft is one of the only major players to "

    What does that mean ?

    How about putting in the full context which was "Microsoft is one of the only major players to not use WebP".

    Looks pretty obvious to me.

    --
    There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
  20. Re:Hosts = more efficient vs. addons/dns etc. by tepples · · Score: 1

    It's read from disk and parsed every time you resolve anything. Linearly.

    Hosts data, like all other data, is loaded from disk initially but read from RAM once cached (far faster)

    KiloByte's point is that the OS's hosts lookup is O(n), while a purpose-built local DNS server that reads a hosts file can manage O(log(n)) using explicit cache data structures. The speedup when you resolve a site outside your top 50 can outweigh the slowdown for switching in and out of kernel mode. And it'd have the same security benefits as your hosts file, plus the ability to use wildcards.

  21. Quadrature mirror filters by tepples · · Score: 1

    It uses wavelet compression.

    "Wavelet" is just a fancy name for quadrature mirror filters (QMF). The ATRAC codec in MiniDisc audio used QMF back in 1992, making it prior art for general QMF patents expiring before 2013. Or are there more specific patents for use of QMF in images?

    It's a patent and litigation minefield.

    Each mine has a seven-digit number attached to it. Which numbers apply to the use of wavelets in JPEG 2000?

  22. Re:THIS makes it load more quickly (& safely) by angel'o'sphere · · Score: 1

    It's read from disk and parsed every time you resolve anything.
    Which means it is in RAM ...

    while a hosts file is limited to a single hostname per entry.
    Which it is actually not!

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  23. Re:THIS makes it load more quickly (& safely) by KiloByte · · Score: 1

    It's read from disk and parsed every time you resolve anything.
    Which means it is in RAM ...

    Yeah, page cache, but this wasn't what I'm talking about. On a modern SSD the speedup from in-RAM caching isn't that massive anymore -- and unless you mounted noatime, there's a write for every operation anyway, both to the journal and inode. And then you still need to read the file and parse it to find that entry; in the most likely case, ie, a non-blocked hostname, you'll need to parse the entire file.

    while a hosts file is limited to a single hostname per entry.
    Which it is actually not!

    You can have multiple entries per line, like this:
    0.0.0.0 facebook.com plus.google.com twatter.com goatse.cx
    but a single entry applies only to a hostname, not to the entire domain below it.

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  24. Re:THIS makes it load more quickly (& safely) by angel'o'sphere · · Score: 1

    and unless you mounted noatime, there's a write for every operation anyway, both to the journal and inode.
    But that is asynchrony from the event reading the info.

    Anyway: there is no reason that a DNS implementation is faster as it has the same limitations regarding disk access.

    but a single entry applies only to a hostname, not to the entire domain below it.
    That is interesting. Don't even know if I never knew that or simply forgot it :D

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  25. Re:THIS makes it load more quickly (& safely) by KiloByte · · Score: 1

    Anyway: there is no reason that a DNS implementation is faster as it has the same limitations regarding disk access.

    A DNS server reads zone files just once, at startup. It can do so because it has a means of getting notified of updates (rndc, zone notifies). The data is then stored in an efficient data structure that takes O(1) to find an entry (or O(k) where k is domain's length if we care about this factor, it's sharply bounded). Even without file access inefficiencies, the best a hosts file can do is O(n) (O(n*k)) -- and we can't ignore such inefficiencies, as reading and parsing a file takes ages.

    (Some server implementations do O(log n) (binary tree) search rather than O(1) (hash [hopefully], trie [guaranteed]), but that's good enough to still beat a hosts file by orders of magnitude.)

    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  26. Re:THIS makes it load more quickly (& safely) by angel'o'sphere · · Score: 1

    Agreed.

    But if you would put in numbers for the n's and k's and what the O calculus omits, lots of c's for the calculations you would figure: it makes no sense to to set up an DNS server for a private person just to block some domains or hosts.

    but that's good enough to still beat a hosts file by orders of magnitude.)
    If that is just a factor of ten, and the time delay is below 1ms, who cares? Or even 1 second, who cares? /. already needs 10 seconds to load, what would I care about 1 second delay? When I have to spend X hours to set up my own DNS to block some hosts?

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.