|
46 | 46 | 'renam' + VERB_E_SUFFIX + NEAR_ENOUGH + 'fast',
|
47 | 47 | 'sometime(?:s)?',
|
48 | 48 | '(unnoticed|found)' + NEAR_ENOUGH + 'long time',
|
| 49 | + 'optimize (align|alignment|arrange|arrangement)' |
49 | 50 | ]
|
50 | 51 |
|
51 | 52 | def build_positive_regex():
|
@@ -127,82 +128,7 @@ def evaluate_performance_classifier():
|
127 | 128 | print_concepts_functions_for_bq(commit='90a58fe07119d5c7ac094913e72305bf314dd65b')
|
128 | 129 | #evaluate_performance_classifier()
|
129 | 130 |
|
130 |
| - text = """ |
131 |
| -"2009-02-23 Geoffrey Garen <[email protected]> |
132 |
| -
|
133 |
| - Reviewed by Sam Weinig. |
134 |
| -
|
135 |
| - Next step in splitting JIT functionality out of the Interpreter class: |
136 |
| - Moved vptr storage from Interpreter to JSGlobalData, so it could be shared |
137 |
| - between Interpreter and JITStubs, and moved the *Trampoline JIT stubs |
138 |
| - into the JITStubs class. Also added a VPtrSet class to encapsulate vptr |
139 |
| - hacks during JSGlobalData initialization. |
140 |
| - |
141 |
| - SunSpider says 0.4% faster. Meh. |
142 |
| -
|
143 |
| - * JavaScriptCore.exp: |
144 |
| - * JavaScriptCore.xcodeproj/project.pbxproj: |
145 |
| - * interpreter/Interpreter.cpp: |
146 |
| - (JSC::Interpreter::Interpreter): |
147 |
| - (JSC::Interpreter::tryCacheGetByID): |
148 |
| - (JSC::Interpreter::privateExecute): |
149 |
| - * interpreter/Interpreter.h: |
150 |
| - * jit/JIT.cpp: |
151 |
| - (JSC::JIT::privateCompileMainPass): |
152 |
| - (JSC::JIT::privateCompile): |
153 |
| - (JSC::JIT::privateCompileCTIMachineTrampolines): |
154 |
| - * jit/JIT.h: |
155 |
| - (JSC::JIT::compileCTIMachineTrampolines): |
156 |
| - * jit/JITCall.cpp: |
157 |
| - (JSC::JIT::compileOpCall): |
158 |
| - (JSC::JIT::compileOpCallSlowCase): |
159 |
| - * jit/JITPropertyAccess.cpp: |
160 |
| - (JSC::JIT::privateCompilePatchGetArrayLength): |
161 |
| - * jit/JITStubs.cpp: |
162 |
| - (JSC::JITStubs::JITStubs): |
163 |
| - (JSC::JITStubs::tryCacheGetByID): |
164 |
| - (JSC::JITStubs::cti_vm_dontLazyLinkCall): |
165 |
| - (JSC::JITStubs::cti_op_get_by_val): |
166 |
| - (JSC::JITStubs::cti_op_get_by_val_byte_array): |
167 |
| - (JSC::JITStubs::cti_op_put_by_val): |
168 |
| - (JSC::JITStubs::cti_op_put_by_val_array): |
169 |
| - (JSC::JITStubs::cti_op_put_by_val_byte_array): |
170 |
| - (JSC::JITStubs::cti_op_is_string): |
171 |
| - * jit/JITStubs.h: |
172 |
| - (JSC::JITStubs::ctiArrayLengthTrampoline): |
173 |
| - (JSC::JITStubs::ctiStringLengthTrampoline): |
174 |
| - (JSC::JITStubs::ctiVirtualCallPreLink): |
175 |
| - (JSC::JITStubs::ctiVirtualCallLink): |
176 |
| - (JSC::JITStubs::ctiVirtualCall): |
177 |
| - * runtime/ArrayPrototype.cpp: |
178 |
| - (JSC::arrayProtoFuncPop): |
179 |
| - (JSC::arrayProtoFuncPush): |
180 |
| - * runtime/FunctionPrototype.cpp: |
181 |
| - (JSC::functionProtoFuncApply): |
182 |
| - * runtime/JSArray.h: |
183 |
| - (JSC::isJSArray): |
184 |
| - * runtime/JSByteArray.h: |
185 |
| - (JSC::asByteArray): |
186 |
| - (JSC::isJSByteArray): |
187 |
| - * runtime/JSCell.h: |
188 |
| - * runtime/JSFunction.h: |
189 |
| - * runtime/JSGlobalData.cpp: |
190 |
| - (JSC::VPtrSet::VPtrSet): |
191 |
| - (JSC::JSGlobalData::JSGlobalData): |
192 |
| - (JSC::JSGlobalData::create): |
193 |
| - (JSC::JSGlobalData::sharedInstance): |
194 |
| - * runtime/JSGlobalData.h: |
195 |
| - * runtime/JSString.h: |
196 |
| - (JSC::isJSString): |
197 |
| - * runtime/Operations.h: |
198 |
| - (JSC::jsLess): |
199 |
| - (JSC::jsLessEq): |
200 |
| - * wrec/WREC.cpp: |
201 |
| - (JSC::WREC::Generator::compileRegExp): |
202 |
| -
|
203 |
| -
|
204 |
| -
|
205 |
| -git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@41168 bbb929c8-8fbe-4397-9dbb-9b2b20218538" |
| 131 | + text = """Update to optimize align/arrange buttons |
206 | 132 | """.lower()
|
207 | 133 | print("is performance", is_performance(text))
|
208 | 134 | print("performance in text", re.findall(build_positive_regex(), text))
|
|
0 commit comments