diff --git a/modules/benchmarks/src/tree/render3/BUILD.bazel b/modules/benchmarks/src/tree/render3/BUILD.bazel
index 4462699373..6f22d21252 100644
--- a/modules/benchmarks/src/tree/render3/BUILD.bazel
+++ b/modules/benchmarks/src/tree/render3/BUILD.bazel
@@ -6,20 +6,22 @@ load("//modules/benchmarks:benchmark_test.bzl", "benchmark_test")
ng_module(
name = "tree_lib",
- srcs = glob(["**/*.ts"]),
+ srcs = [
+ "index_aot.ts",
+ "tree.ts",
+ ],
tags = ["ivy-only"],
deps = [
"//modules/benchmarks/src/tree:util_lib",
"//packages:types",
"//packages/common",
"//packages/core",
- "@npm//reflect-metadata",
],
)
ng_rollup_bundle(
name = "bundle",
- entry_point = ":index.ts",
+ entry_point = ":index_aot.ts",
tags = ["ivy-only"],
deps = [
":tree_lib",
@@ -29,12 +31,12 @@ ng_rollup_bundle(
ts_devserver(
name = "devserver",
- static_files = [
- ":bundle.min_debug.js",
- ":bundle.min.js",
- "index.html",
- ],
+ index_html = "index.html",
+ port = 4200,
tags = ["ivy-only"],
+ deps = [
+ ":bundle.min_debug.js",
+ ],
)
benchmark_test(
diff --git a/modules/benchmarks/src/tree/render3/index.html b/modules/benchmarks/src/tree/render3/index.html
index 0f86ab6ac4..4889a4f40c 100644
--- a/modules/benchmarks/src/tree/render3/index.html
+++ b/modules/benchmarks/src/tree/render3/index.html
@@ -31,11 +31,5 @@
-