Changeset 125691 in webkit
- Timestamp:
- Aug 15, 2012 12:08:06 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 22 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r125689 r125691 1 2012-08-15 Scott Graham <scottmg@chromium.org> 2 3 Rename window.internals.fastMallocStatistics to mallocStatistics 4 https://bugs.webkit.org/show_bug.cgi?id=94033 5 6 Reviewed by Adam Barth. 7 8 * fast/harness/fastmallocstatistics-object.html: 9 1 10 2012-08-15 Ojan Vafai <ojan@chromium.org> 2 11 -
trunk/LayoutTests/fast/harness/fastmallocstatistics-object-expected.txt
r123773 r125691 1 1 PASS [object Internals] is defined. 2 PASS [object FastMallocStatistics] is defined.2 PASS [object MallocStatistics] is defined. 3 3 PASS stats.reservedVMBytes is >= 0 4 4 PASS stats.committedVMBytes is >= 0 -
trunk/LayoutTests/fast/harness/fastmallocstatistics-object.html
r123773 r125691 6 6 shouldBeDefined(window.internals); 7 7 8 var stats = window.internals. fastMallocStatistics();8 var stats = window.internals.mallocStatistics(); 9 9 shouldBeDefined(stats); 10 10 shouldBeGreaterThanOrEqual("stats.reservedVMBytes", "0"); -
trunk/PerformanceTests/ChangeLog
r125317 r125691 1 2012-08-15 Scott Graham <scottmg@chromium.org> 2 3 Rename window.internals.fastMallocStatistics to mallocStatistics 4 https://bugs.webkit.org/show_bug.cgi?id=94033 5 6 Reviewed by Adam Barth. 7 8 * resources/runner.js: 9 (PerfTestRunner.storeHeapResults): 10 (PerfTestRunner.getUsedMallocHeap): 11 (PerfTestRunner.getAndPrintMemoryStatistics): 12 (PerfTestRunner.initAndStartLoop): 13 1 14 2012-08-10 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/PerformanceTests/resources/runner.js
r125194 r125691 131 131 if (this._jsHeapResults.length) { 132 132 this.logStatistics(this._jsHeapResults, "bytes", "JS Heap:"); 133 this.logStatistics(this._ fastMallocHeapResults, "bytes", "FastMalloc:");133 this.logStatistics(this._mallocHeapResults, "bytes", "Malloc:"); 134 134 } 135 135 if (this._logLines) { … … 169 169 return; 170 170 this._jsHeapResults.push(this.getUsedJSHeap()); 171 this._ fastMallocHeapResults.push(this.getUsedFastMallocHeap());172 } 173 174 PerfTestRunner.getUsed FastMallocHeap = function() {175 var stats = window.internals. fastMallocStatistics();171 this._mallocHeapResults.push(this.getUsedMallocHeap()); 172 } 173 174 PerfTestRunner.getUsedMallocHeap = function() { 175 var stats = window.internals.mallocStatistics(); 176 176 return stats.committedVMBytes - stats.freeListBytes; 177 177 } … … 187 187 PerfTestRunner.printStatistics(jsMemoryStats, "JS Heap:"); 188 188 189 var fastMallocMemoryStats = PerfTestRunner.computeStatistics([PerfTestRunner.getUsedFastMallocHeap()], "bytes");190 PerfTestRunner.printStatistics( fastMallocMemoryStats, "FastMalloc:");189 var mallocMemoryStats = PerfTestRunner.computeStatistics([PerfTestRunner.getUsedMallocHeap()], "bytes"); 190 PerfTestRunner.printStatistics(mallocMemoryStats, "Malloc:"); 191 191 } 192 192 … … 209 209 this._results = []; 210 210 this._jsHeapResults = []; 211 this._ fastMallocHeapResults = [];211 this._mallocHeapResults = []; 212 212 this._logLines = window.testRunner ? [] : null; 213 213 this.log("Running " + this._runCount + " times"); -
trunk/Source/WebCore/CMakeLists.txt
r125496 r125691 2687 2687 2688 2688 SET(WebCoreTestSupport_IDL_FILES 2689 testing/FastMallocStatistics.idl2690 2689 testing/Internals.idl 2691 2690 testing/InternalSettings.idl 2691 testing/MallocStatistics.idl 2692 2692 ) 2693 2693 -
trunk/Source/WebCore/ChangeLog
r125690 r125691 1 2012-08-15 Scott Graham <scottmg@chromium.org> 2 3 Rename window.internals.fastMallocStatistics to mallocStatistics 4 https://bugs.webkit.org/show_bug.cgi?id=94033 5 6 Reviewed by Adam Barth. 7 8 Mechanical rename. In preparation for plumbing allocation information 9 from allocators that aren't "fastMalloc". 10 11 * CMakeLists.txt: 12 * DerivedSources.make: 13 * DerivedSources.pri: 14 * GNUmakefile.list.am: 15 * Target.pri: 16 * WebCore.gyp/WebCore.gyp: 17 * WebCore.gypi: 18 * WebCore.vcproj/WebCoreTestSupport.vcproj: 19 * WebCore.xcodeproj/project.pbxproj: 20 * loader/DocumentLoader.h: 21 (WebCore::DocumentLoader::didTellClientAboutLoad): 22 * loader/cache/CachedResourceLoader.cpp: 23 (WebCore::CachedResourceLoader::loadResource): 24 * testing/FastMallocStatistics.h: Removed. 25 * testing/FastMallocStatistics.idl: Removed. 26 * testing/Internals.cpp: 27 (WebCore::Internals::mallocStatistics): 28 * testing/Internals.h: 29 (WebCore): 30 (Internals): 31 * testing/Internals.idl: 32 * testing/MallocStatistics.h: Added. 33 * testing/MallocStatistics.idl: Added. 34 1 35 2012-08-15 Joshua Netterfield <jnetterfield@rim.com> 2 36 -
trunk/Source/WebCore/DerivedSources.make
r125251 r125691 592 592 $(WebCore)/svg/SVGZoomAndPan.idl \ 593 593 $(WebCore)/svg/SVGZoomEvent.idl \ 594 $(WebCore)/testing/FastMallocStatistics.idl \595 594 $(WebCore)/testing/Internals.idl \ 596 595 $(WebCore)/testing/InternalSettings.idl \ 596 $(WebCore)/testing/MallocStatistics.idl \ 597 597 $(WebCore)/workers/AbstractWorker.idl \ 598 598 $(WebCore)/workers/DedicatedWorkerContext.idl \ -
trunk/Source/WebCore/DerivedSources.pri
r125278 r125691 444 444 $$PWD/storage/Storage.idl \ 445 445 $$PWD/storage/StorageEvent.idl \ 446 $$PWD/testing/FastMallocStatistics.idl \447 446 $$PWD/testing/Internals.idl \ 448 447 $$PWD/testing/InternalSettings.idl \ 448 $$PWD/testing/MallocStatistics.idl \ 449 449 $$PWD/workers/AbstractWorker.idl \ 450 450 $$PWD/workers/DedicatedWorkerContext.idl \ -
trunk/Source/WebCore/GNUmakefile.list.am
r125583 r125691 1687 1687 $(WebCore)/svg/SVGZoomAndPan.idl \ 1688 1688 $(WebCore)/svg/SVGZoomEvent.idl \ 1689 $(WebCore)/testing/FastMallocStatistics.idl \1690 1689 $(WebCore)/testing/Internals.idl \ 1691 1690 $(WebCore)/testing/InternalSettings.idl \ 1691 $(WebCore)/testing/MallocStatistics.idl \ 1692 1692 $(WebCore)/workers/AbstractWorker.idl \ 1693 1693 $(WebCore)/workers/DedicatedWorkerContext.idl \ -
trunk/Source/WebCore/Target.pri
r125265 r125691 2646 2646 svg/SVGZoomAndPan.h \ 2647 2647 svg/SVGZoomEvent.h \ 2648 testing/FastMallocStatistics.h \2649 2648 testing/Internals.h \ 2650 2649 testing/InternalSettings.h \ 2650 testing/MallocStatistics.h \ 2651 2651 workers/AbstractWorker.h \ 2652 2652 workers/DedicatedWorkerContext.h \ -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r125641 r125691 2207 2207 'sources': [ 2208 2208 '<@(webcore_test_support_files)', 2209 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8 FastMallocStatistics.cpp',2210 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8 FastMallocStatistics.h',2209 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8MallocStatistics.cpp', 2210 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8MallocStatistics.h', 2211 2211 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8Internals.cpp', 2212 2212 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8Internals.h', -
trunk/Source/WebCore/WebCore.gypi
r125550 r125691 6229 6229 ], 6230 6230 'webcore_test_support_idl_files': [ 6231 'testing/FastMallocStatistics.idl',6232 6231 'testing/Internals.idl', 6233 6232 'testing/InternalSettings.idl', 6233 'testing/MallocStatistics.idl', 6234 6234 ], 6235 6235 'webcore_test_support_files': [ … … 6238 6238 'testing/js/WebCoreTestSupport.cpp', 6239 6239 'testing/js/WebCoreTestSupport.h', 6240 'testing/FastMallocStatistics.h',6241 6240 'testing/Internals.cpp', 6242 6241 'testing/Internals.h', 6243 6242 'testing/InternalSettings.cpp', 6244 6243 'testing/InternalSettings.h', 6244 'testing/MallocStatistics.h', 6245 6245 'testing/MockPagePopupDriver.cpp', 6246 6246 'testing/MockPagePopupDriver.h', -
trunk/Source/WebCore/WebCore.vcproj/WebCoreTestSupport.vcproj
r123773 r125691 349 349 > 350 350 <File 351 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JS FastMallocStatistics.cpp"351 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JSMallocStatistics.cpp" 352 352 > 353 353 <FileConfiguration … … 413 413 </File> 414 414 <File 415 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JS FastMallocStatistics.h"415 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JSMallocStatistics.h" 416 416 > 417 417 </File> … … 557 557 > 558 558 <File 559 RelativePath="..\testing\ FastMallocStatistics.h"559 RelativePath="..\testing\MallocStatistics.h" 560 560 > 561 561 </File> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r125550 r125691 3798 3798 A73F95FE12C97BFE0031AAF9 /* RoundedRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A73F95FC12C97BFE0031AAF9 /* RoundedRect.cpp */; }; 3799 3799 A73F95FF12C97BFE0031AAF9 /* RoundedRect.h in Headers */ = {isa = PBXBuildFile; fileRef = A73F95FD12C97BFE0031AAF9 /* RoundedRect.h */; settings = {ATTRIBUTES = (Private, ); }; }; 3800 A740B59514C935AB00A77FA4 /* JS FastMallocStatistics.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4EA6914C9348400C8F5BF /* JSFastMallocStatistics.h */; };3801 A740B59714C935AF00A77FA4 /* JS FastMallocStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B4EA6814C9348400C8F5BF /* JSFastMallocStatistics.cpp */; };3800 A740B59514C935AB00A77FA4 /* JSMallocStatistics.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4EA6914C9348400C8F5BF /* JSMallocStatistics.h */; }; 3801 A740B59714C935AF00A77FA4 /* JSMallocStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B4EA6814C9348400C8F5BF /* JSMallocStatistics.cpp */; }; 3802 3802 A740B5A514C935AB00A77FA4 /* JSInternalSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4EA7914C9348400C8F5BF /* JSInternalSettings.h */; }; 3803 3803 A740B5A714C935AF00A77FA4 /* JSInternalSettings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B4EA7814C9348400C8F5BF /* JSInternalSettings.cpp */; }; … … 11020 11020 A7B070D0130A409C00A3763C /* FrameActionScheduler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FrameActionScheduler.cpp; sourceTree = "<group>"; }; 11021 11021 A7B070D1130A409C00A3763C /* FrameActionScheduler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FrameActionScheduler.h; sourceTree = "<group>"; }; 11022 A7B4EA6814C9348400C8F5BF /* JS FastMallocStatistics.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFastMallocStatistics.cpp; sourceTree = "<group>"; };11023 A7B4EA6914C9348400C8F5BF /* JS FastMallocStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFastMallocStatistics.h; sourceTree = "<group>"; };11022 A7B4EA6814C9348400C8F5BF /* JSMallocStatistics.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSMallocStatistics.cpp; sourceTree = "<group>"; }; 11023 A7B4EA6914C9348400C8F5BF /* JSMallocStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSMallocStatistics.h; sourceTree = "<group>"; }; 11024 11024 A7B4EA7814C9348400C8F5BF /* JSInternalSettings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInternalSettings.cpp; sourceTree = "<group>"; }; 11025 11025 A7B4EA7914C9348400C8F5BF /* JSInternalSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInternalSettings.h; sourceTree = "<group>"; }; … … 11028 11028 A7BBE26411AFB3F20005EA03 /* JSHTMLMeterElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLMeterElement.cpp; sourceTree = "<group>"; }; 11029 11029 A7BBE26511AFB3F20005EA03 /* JSHTMLMeterElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLMeterElement.h; sourceTree = "<group>"; }; 11030 A7BE7EDD14C9175A0014489D /* FastMallocStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FastMallocStatistics.h; sourceTree = "<group>"; };11031 A7BE7EDE14C9175A0014489D /* FastMallocStatistics.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = FastMallocStatistics.idl; sourceTree = "<group>"; };11030 A7BE7EDD14C9175A0014489D /* MallocStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MallocStatistics.h; sourceTree = "<group>"; }; 11031 A7BE7EDE14C9175A0014489D /* MallocStatistics.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MallocStatistics.idl; sourceTree = "<group>"; }; 11032 11032 A7BF7EDC14C9175A0014489D /* InternalSettings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InternalSettings.cpp; sourceTree = "<group>"; }; 11033 11033 A7BF7EDD14C9175A0014489D /* InternalSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InternalSettings.h; sourceTree = "<group>"; }; … … 14932 14932 children = ( 14933 14933 41815C1B138319630057AAA4 /* js */, 14934 A7BE7EDD14C9175A0014489D /* FastMallocStatistics.h */,14935 A7BE7EDE14C9175A0014489D /* FastMallocStatistics.idl */,14934 A7BE7EDD14C9175A0014489D /* MallocStatistics.h */, 14935 A7BE7EDE14C9175A0014489D /* MallocStatistics.idl */, 14936 14936 417DA4CF13734326007C57FB /* Internals.cpp */, 14937 14937 417DA4CE13734326007C57FB /* Internals.h */, … … 14947 14947 isa = PBXGroup; 14948 14948 children = ( 14949 A7B4EA6814C9348400C8F5BF /* JS FastMallocStatistics.cpp */,14950 A7B4EA6914C9348400C8F5BF /* JS FastMallocStatistics.h */,14949 A7B4EA6814C9348400C8F5BF /* JSMallocStatistics.cpp */, 14950 A7B4EA6914C9348400C8F5BF /* JSMallocStatistics.h */, 14951 14951 417DA71B13735DFA007C57FB /* JSInternals.cpp */, 14952 14952 417DA71C13735DFA007C57FB /* JSInternals.h */, … … 22115 22115 417DA6DA13734E6E007C57FB /* Internals.h in Headers */, 22116 22116 A7BF7EE014C9175A0014489D /* InternalSettings.h in Headers */, 22117 A740B59514C935AB00A77FA4 /* JS FastMallocStatistics.h in Headers */,22117 A740B59514C935AB00A77FA4 /* JSMallocStatistics.h in Headers */, 22118 22118 417DA71E13735DFA007C57FB /* JSInternals.h in Headers */, 22119 22119 A740B5A514C935AB00A77FA4 /* JSInternalSettings.h in Headers */, … … 25737 25737 417DA6D913734E6E007C57FB /* Internals.cpp in Sources */, 25738 25738 A7BF7EDF14C9175A0014489D /* InternalSettings.cpp in Sources */, 25739 A740B59714C935AF00A77FA4 /* JS FastMallocStatistics.cpp in Sources */,25739 A740B59714C935AF00A77FA4 /* JSMallocStatistics.cpp in Sources */, 25740 25740 417DA71D13735DFA007C57FB /* JSInternals.cpp in Sources */, 25741 25741 A740B5A714C935AF00A77FA4 /* JSInternalSettings.cpp in Sources */, -
trunk/Source/WebCore/testing/Internals.cpp
r125025 r125691 38 38 #include "ElementShadow.h" 39 39 #include "ExceptionCode.h" 40 #include "FastMallocStatistics.h"41 40 #include "Frame.h" 42 41 #include "FrameView.h" … … 55 54 #include "IntRect.h" 56 55 #include "Language.h" 56 #include "MallocStatistics.h" 57 57 #include "NodeRenderingContext.h" 58 58 #include "Page.h" … … 1184 1184 } 1185 1185 1186 PassRefPtr< FastMallocStatistics> Internals::fastMallocStatistics() const1187 { 1188 return FastMallocStatistics::create();1189 } 1190 1191 } 1186 PassRefPtr<MallocStatistics> Internals::mallocStatistics() const 1187 { 1188 return MallocStatistics::create(); 1189 } 1190 1191 } -
trunk/Source/WebCore/testing/Internals.h
r124304 r125691 50 50 class ShadowRoot; 51 51 class WebKitPoint; 52 class FastMallocStatistics;52 class MallocStatistics; 53 53 54 54 typedef int ExceptionCode; … … 209 209 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); 210 210 211 PassRefPtr< FastMallocStatistics> fastMallocStatistics() const;211 PassRefPtr<MallocStatistics> mallocStatistics() const; 212 212 213 213 private: -
trunk/Source/WebCore/testing/Internals.idl
r124304 r125691 186 186 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString scheme); 187 187 188 FastMallocStatistics fastMallocStatistics();188 MallocStatistics mallocStatistics(); 189 189 }; 190 190 } -
trunk/Source/WebCore/testing/MallocStatistics.h
r125690 r125691 24 24 */ 25 25 26 #ifndef FastMallocStatistics_h27 #define FastMallocStatistics_h26 #ifndef MallocStatistics_h 27 #define MallocStatistics_h 28 28 29 29 #include <wtf/FastMalloc.h> … … 33 33 namespace WebCore { 34 34 35 class FastMallocStatistics : public RefCounted<FastMallocStatistics> {35 class MallocStatistics : public RefCounted<MallocStatistics> { 36 36 public: 37 static PassRefPtr< FastMallocStatistics> create() { return adoptRef(new FastMallocStatistics()); }37 static PassRefPtr<MallocStatistics> create() { return adoptRef(new MallocStatistics()); } 38 38 39 39 size_t reservedVMBytes() const { return m_stats.reservedVMBytes; } … … 42 42 43 43 private: 44 FastMallocStatistics()44 MallocStatistics() 45 45 { 46 46 m_stats = WTF::fastMallocStatistics(); -
trunk/Source/WebCore/testing/MallocStatistics.idl
r125690 r125691 27 27 interface [ 28 28 OmitConstructor 29 ] FastMallocStatistics {29 ] MallocStatistics { 30 30 readonly attribute unsigned long reservedVMBytes; 31 31 readonly attribute unsigned long committedVMBytes; -
trunk/Tools/ChangeLog
r125683 r125691 1 2012-08-15 Scott Graham <scottmg@chromium.org> 2 3 Rename window.internals.fastMallocStatistics to mallocStatistics 4 https://bugs.webkit.org/show_bug.cgi?id=94033 5 6 Reviewed by Adam Barth. 7 8 * GNUmakefile.am: 9 * Scripts/webkitpy/performance_tests/perftest.py: 10 (PerfTest): 11 * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py: 12 (test_run_memory_test): 13 1 14 2012-08-15 Peter Beverloo <peter@chromium.org> 2 15 -
trunk/Tools/GNUmakefile.am
r125511 r125691 44 44 Source/WebCore/bindings/js/JSDOMWrapper.cpp \ 45 45 Source/WebCore/bindings/js/JSDOMWrapper.h \ 46 Source/WebCore/testing/ FastMallocStatistics.h \46 Source/WebCore/testing/MallocStatistics.h \ 47 47 Source/WebCore/testing/Internals.cpp \ 48 48 Source/WebCore/testing/Internals.h \ … … 55 55 56 56 libwebcoreinternals_built_sources += \ 57 DerivedSources/WebCore/JS FastMallocStatistics.cpp \58 DerivedSources/WebCore/JS FastMallocStatistics.h \57 DerivedSources/WebCore/JSMallocStatistics.cpp \ 58 DerivedSources/WebCore/JSMallocStatistics.h \ 59 59 DerivedSources/WebCore/JSInternals.cpp \ 60 60 DerivedSources/WebCore/JSInternals.h \ -
trunk/Tools/Scripts/webkitpy/performance_tests/perftest.py
r125332 r125691 113 113 114 114 _description_regex = re.compile(r'^Description: (?P<description>.*)$', re.IGNORECASE) 115 _result_classes = ['Time', 'JS Heap', ' FastMalloc']115 _result_classes = ['Time', 'JS Heap', 'Malloc'] 116 116 _result_class_regex = re.compile(r'^(?P<resultclass>' + r'|'.join(_result_classes) + '):') 117 117 _statistics_keys = ['avg', 'median', 'stdev', 'min', 'max', 'unit'] -
trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py
r125332 r125691 124 124 max 848000 bytes 125 125 126 FastMalloc:126 Malloc: 127 127 avg 532000 bytes 128 128 median 529000 bytes … … 275 275 'RESULT Parser: memory-test: JSHeap= 832000.0 bytes', 276 276 'median= 829000.0 bytes, stdev= 15000.0 bytes, min= 811000.0 bytes, max= 848000.0 bytes', 277 'RESULT Parser: memory-test: FastMalloc= 532000.0 bytes',277 'RESULT Parser: memory-test: Malloc= 532000.0 bytes', 278 278 'median= 529000.0 bytes, stdev= 13000.0 bytes, min= 511000.0 bytes, max= 548000.0 bytes', 279 279 '', ''])) … … 281 281 self.assertEqual(results['Parser/memory-test'], {'min': 1080.0, 'max': 1120.0, 'median': 1101.0, 'stdev': 11.0, 'avg': 1100.0, 'unit': 'ms'}) 282 282 self.assertEqual(results['Parser/memory-test:JSHeap'], {'min': 811000.0, 'max': 848000.0, 'median': 829000.0, 'stdev': 15000.0, 'avg': 832000.0, 'unit': 'bytes'}) 283 self.assertEqual(results['Parser/memory-test: FastMalloc'], {'min': 511000.0, 'max': 548000.0, 'median': 529000.0, 'stdev': 13000.0, 'avg': 532000.0, 'unit': 'bytes'})283 self.assertEqual(results['Parser/memory-test:Malloc'], {'min': 511000.0, 'max': 548000.0, 'median': 529000.0, 'stdev': 13000.0, 'avg': 532000.0, 'unit': 'bytes'}) 284 284 285 285 def _test_run_with_json_output(self, runner, filesystem, upload_suceeds=True, expected_exit_code=0):
Note: See TracChangeset
for help on using the changeset viewer.