Skip to content

Instantly share code, notes, and snippets.

op_put_by_index => wtf
op_push_with_scope => |with|!!
op_assert => not good
op_yield => ok
FTL
../../../Source/JavaScriptCore/ftl/FTLCapabilities.cpp:45:12: warning: enumeration value ‘CreateThis’ not handled in switch [-Wswitch]
switch (node->op()) {
^
../../../Source/JavaScriptCore/ftl/FTLCapabilities.cpp:45:12: warning: enumeration value ‘CheckTierUpInLoop’ not handled in switch [-Wswitch]
This file has been truncated, but you can view the full file.
65536-2000-normal: 75816
65536-2000-double: 2415
65536-2000-normal: 2464
65536-2000-double: 2468
65536-2000-normal: 2465
65536-2000-double: 2481
65536-2000-normal: 2459
65536-2000-double: 2294
65536-2000-normal: 2471
# -*- coding: utf-8 -*-
# Copyright (C) 2015-2017 Yusuke Suzuki <yusuke.suzuki@sslab.ics.keio.ac.jp>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
#0 0x00007ffff7baa906 in _ZN3WTF7RunLoop8scheduleERKNS_14AbstractLockerEONS_3RefINS0_9TimerBase13ScheduledTaskEEE () from /home/yusukesuzuki/dev/WebKit/WebKitBuild/webthread-runloop/Release/lib/libJavaScriptCore.so.1
#1 0x00007ffff7baa9d1 in _ZN3WTF7RunLoop17scheduleAndWakeUpERKNS_14AbstractLockerEONS_3RefINS0_9TimerBase13ScheduledTaskEEE () from /home/yusukesuzuki/dev/WebKit/WebKitBuild/webthread-runloop/Release/lib/libJavaScriptCore.so.1
#2 0x00007ffff7baab0f in _ZN3WTF7RunLoop9TimerBase5startEdb () from /home/yusukesuzuki/dev/WebKit/WebKitBuild/webthread-runloop/Release/lib/libJavaScriptCore.so.1
#3 0x00007ffff759db47 in _ZN3JSC18GCActivityCallback11didAllocateEm () from /home/yusukesuzuki/dev/WebKit/WebKitBuild/webthread-runloop/Release/lib/libJavaScriptCore.so.1
#4 0x00007ffff75a4876 in _ZN3JSC4Heap11didAllocateEm () from /home/yusukesuzuki/dev/WebKit/WebKitBuild/webthread-runloop/Release/lib/libJavaScriptCore.so.1
#5 0x00007ffff75a96d9 in _ZN3JSC4Heap34reportExtraMemoryAllocatedSlowCaseEm () from
Benchmark report for SunSpider, Octane, and Kraken on sakura-trick.
VMs tested:
"baseline" at /home/yusukesuzuki/dev/WebKit/WebKitBuild/ic-dfg-tot/Release/bin/jsc
"patched" at /home/yusukesuzuki/dev/WebKit/WebKitBuild/ic-dfg-value-add/Release/bin/jsc
Collected 50 samples per benchmark/VM, with 50 VM invocations per benchmark. Emitted a call to gc() between sample
measurements. Used 1 benchmark iteration per VM invocation for warm-up. Used the jsc-specific preciseTime() function to
get microsecond-level timing. Reporting benchmark execution times with 95% confidence intervals in milliseconds.
@Constellation
Constellation / list.log
Created January 14, 2017 23:44
ThreadNames
Source/JavaScriptCore/API/tests/CompareAndSwapTest.cpp: threadIDs[i] = createThread(ThreadName { "setBitThreadFunc", "setBitThread" }, threadFunc);
Source/JavaScriptCore/b3/air/testair.cpp: ThreadName { "testb3 thread" },
Source/JavaScriptCore/b3/testb3.cpp: ThreadName { "testb3 thread" },
Source/JavaScriptCore/bytecode/SuperSampler.cpp: ThreadName { "JSC Super Sampler", "SuperSampler" },
Source/JavaScriptCore/dfg/DFGWorklist.cpp: theGlobalDFGWorklist = &Worklist::create(ThreadName { "DFG Worklist" }, Options::numberOfDFGCompilerThreads(), Options::priorityDeltaOfDFGCompilerThreads()).leakRef();
Source/JavaScriptCore/dfg/DFGWorklist.cpp: theGlobalFTLWorklist = &Worklist::create(ThreadName { "FTL Worklist" }, Options::numberOfFTLCompilerThreads(), Options::priorityDeltaOfFTLCompilerThreads()).leakRef();
Source/JavaScriptCore/disassembler/Disassembler.cpp: createThread(ThreadName { "Asynchronous Disassembler", "AsyncDisasm" }, [&] () { run(); });
var f = () => { g();}, g = () => { f();}; f();
Benchmark report for Octane on hanayamata.
VMs tested:
"baseline" at /home/yusukesuzuki/dev/WebKit/WebKitBuild/async-tot/Release/bin/jsc
"patched" at /home/yusukesuzuki/dev/WebKit/WebKitBuild/async/Release/bin/jsc
Collected 30 samples per benchmark/VM, with 30 VM invocations per benchmark. Emitted a call to gc()
between sample measurements. Used 1 benchmark iteration per VM invocation for warm-up. Used the
jsc-specific preciseTime() function to get microsecond-level timing. Reporting benchmark execution
times with 95% confidence intervals in milliseconds.
/*
* Copyright (C) 2016 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the