/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
modules/benchmarks/src/class_bindings/class_bindings.perf-spec.ts
36 строк
932 B
Kristiyan Kostadinov
build: initial test of TypeScript 6
16 янв 2026, 00:41
16 янв 2026, 00:41
d9c980a
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {runBenchmark} from '../../../utilities/index.js'; import {$, browser} from 'protractor'; describe('class bindings perf', () => { it('should work for update', async () => { browser.rootEl = '#root'; await runBenchmark({ id: 'create', url: '', ignoreBrowserSynchronization: true, params: [], prepare: () => $('#destroy').click(), work: () => $('#create').click(), }); }); it('should work for update', async () => { browser.rootEl = '#root'; await runBenchmark({ id: 'update', url: '', ignoreBrowserSynchronization: true, params: [], prepare: () => $('#create').click(), work: () => $('#update').click(), }); }); });