Sputnik (JavaScript conformance test)

Last updated

Sputnik
Sputnik-test-icon.gif
Owner Google Inc.
Created by Christian Plesner Hansen, Sandholm
URL https://v8.github.io/test262/website/default.html
CommercialNo
RegistrationNo
Launched29 June 2009 [1]
Current statusactive (version 1234)
Content license
New BSD License

Sputnik was a JavaScript conformance test suite. The purpose of the test suite was to determine how well a JavaScript implementation adheres to the ECMA-262 specification, 5th edition, looking only at those features that were also present in the 3rd edition. [1] It contained over 5000 tests that touched all aspects of the JavaScript language. [1] [2]

Contents

The test was created in Russia for testing the conformance of the V8 JavaScript engine used in Google Chrome. [1]

As part of phasing out Google Labs, Google has shut down Sputnik. All current Sputnik tests have been incorporated into ECMA's Test262 test suite.

Browsers that do not pass

As an example of a browser that does not pass, Konqueror 4.10.1 still only passes 91.8% of the 11573 tests.

Desktop browsers

Scores represent the number of failed tests – a perfect score is 0 (100%).

Desktop browser results in Sputnik
Browser nameScore of current releaseScore of preview release
Internet Explorer Internet Explorer 11.0.9600.17420
8/16436
(99.95%)

Internet Explorer 11.0.9879.0
3/16436
(99.98%)
Google Chrome Google Chrome 30.0.1599.66
9/16436
(99.95%)

Google Chrome 32.0.1700.39
10/16436
(99.94%)
Safari Safari 6.0.2
8/16436
(99.95%)

No preview results available
Mozilla Firefox Firefox 33.1.1
53/16436
(99.68%)

Firefox 68.0a1
240/16436
(98.54%)
Opera Opera 11.60 (build 1185)
1/16436
(99.99%)
Opera 12.00 (build 1191)
1/16436
(99.99%)

ECMAScript testsuite

Google has handed the tests from Sputnik test suite to Ecma International for inclusion in its ECMAScript 262 test suite. Some Sputnik tests however have been found to have issues and do not conform to ECMAScript 5th edition specification. [3]

Mobile browsers

Mobile browsers
Browser nameScore of current releaseScore of preview release
Android
128/16436
(99.22%)
no preview version
Safari (iOS 6.0.2)
30/16436
(99.82%)
no preview version
Internet Explorer Mobile Internet Explorer Mobile 7
477/16436
(97.1%)
Internet Explorer Mobile 9 (SDK emulator)
88/16436
(99.46%)

See also

Related Research Articles

JavaScript, often abbreviated as JS, is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

ECMAScript is a general-purpose programming language, standardized by Ecma International according to the document ECMA-262. It is a JavaScript standard meant to ensure the interoperability of Web pages across different Web browsers. ECMAScript is commonly used for client-side scripting on the World Wide Web, and it is increasingly being used for writing server applications and services using Node.js.

SpiderMonkey is the code name for the first JavaScript engine, written by Brendan Eich at Netscape Communications, later released as open-source and currently maintained by the Mozilla Foundation.

JScript is Microsoft's dialect of the ECMAScript standard that is used in Microsoft's Internet Explorer.

Ecma International Standards organization for information and communication systems

Ecma is a standards organization for information and communication systems. It acquired its current name in 1994, when the European Computer Manufacturers Association (ECMA) changed its name to reflect the organization's global reach and activities. As a consequence, the name is no longer considered an acronym and no longer uses full capitalization.

Comparison of web browsers Wikimedia list article

The following tables compare general and technical information for a number of web browsers.

JSON Text-based open standard designed for human-readable data interchange

JavaScript Object Notation is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types. It is a very common data format, with a diverse range of applications, such as serving as a replacement for XML in AJAX systems.

A JavaScript engine is a computer program that executes JavaScript (JS) code. The first JavaScript engines were mere interpreters, but all relevant modern engines utilize just-in-time compilation for improved performance.

ECMAScript for XML (E4X) is the standard ISO/IEC 22537:2006 programming language extension that adds native XML support to ECMAScript. The goal is to provide an alternative to DOM interfaces that uses a simpler syntax for accessing XML documents. It also offers a new way of making XML visible. Before the release of E4X, XML was always accessed at an object level. E4X instead treats XML as a primitive. This implies faster access, better support, and acceptance as a building block of a program.

TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language. TypeScript is designed for development of large applications and transcompiles to JavaScript. As TypeScript is a superset of JavaScript, existing JavaScript programs are also valid TypeScript programs.

This is a comparison of regular-expression engines.

Acid3 Online HTML rendering test

The Acid3 test is a web test page from the Web Standards Project that checks a web browser's compliance with elements of various web standards, particularly the Document Object Model (DOM) and JavaScript.

Internet Explorer 9 web browser by Microsoft

Internet Explorer 9 or IE9 is the ninth version of the Internet Explorer web browser from Microsoft. It was released to the public on March 14, 2011. Microsoft released Internet Explorer 9 as a major out-of-band version that was not tied to the release schedule of any particular version of Windows, unlike previous versions. It is the first version since Internet Explorer 2 not to be bundled with a Windows operating system, although some OEMs have installed it with Windows 7 on their PCs, as well as new Windows 7 laptops.

Google Chrome Web browser developed by Google

Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, and was later ported to Linux, macOS, iOS, and Android where it is the default browser built into the OS. The browser is also the main component of Chrome OS, where it serves as the platform for web applications.

WebGL JavaScript bindings for OpenGL in web browsers

WebGL is a JavaScript API for rendering interactive 2D and 3D graphics within any compatible web browser without the use of plug-ins. WebGL is fully integrated with other web standards, allowing GPU-accelerated usage of physics and image processing and effects as part of the web page canvas. WebGL elements can be mixed with other HTML elements and composited with other parts of the page or page background. WebGL programs consist of control code written in JavaScript and shader code that is written in OpenGL ES Shading Language, a language similar to C or C++, and is executed on a computer's graphics processing unit (GPU). WebGL is designed and maintained by the non-profit Khronos Group.

CommonJS was a project with the goal to establish conventions on the module ecosystem for JavaScript outside of the web browser. The primary reason for its creation was a major lack of commonly accepted forms of JavaScript module units which could be reusable in environments different from that provided by conventional web browsers running JavaScript scripts.

A browser speed test is a computer benchmark that scores the performance of a web browser, by measuring the browser's efficiency in completing a predefined list of tasks. In general the testing software is available online, located on a website, where different algorithms are loaded and performed in the browser client. Typical test tasks are rendering and animation, DOM transformations, string operations, mathematical calculations, sorting algorithms, graphic performance tests and memory instructions. Browser speed tests have been used during browser wars to prove superiority of specific web browsers. The popular Acid3 test is no particular speed test but checks browser conformity to web standards.

The Internet Browser is a web browser designed for the Nintendo 3DS family system. It was released via firmware update on June 6, 2011 in North America and June 7, 2011 in Europe, Australia, and Japan. Access to World Wide Web site content can now be filtered as of system update 5.0.0-11.

Dart is a client-optimized programming language for apps on multiple platforms. It is developed by Google and is used to build mobile, desktop, server, and web applications.

References

  1. 1 2 3 4 Hansen, Christian Plesner (29 June 2009). "Launching Sputnik into Orbit". The Chromium Blog. Google. Retrieved 8 September 2010.
  2. "The winners are: Opera, IE, Firefox, Chrome, Safari; in that order". kristopolous. 11 November 2011. Retrieved 6 December 2011.
  3. Bug 18 -several tests assume it's okay to have a FunctionDeclaration in a Statement context