Skip to content

Commit aa80c56

Browse files
committed
add benchmarks page
1 parent 171e2a5 commit aa80c56

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

crates/www/layouts/layout.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ impl Component for Topbar {
4040
href: "/docs/".to_owned(),
4141
title: "Docs".to_owned(),
4242
},
43+
ui::TopbarItem {
44+
element: None,
45+
href: "/benchmarks".to_owned(),
46+
title: "Benchmarks".to_owned(),
47+
},
4348
ui::TopbarItem {
4449
element: None,
4550
href: "https://app.tangram.xyz".to_owned(),

crates/www/pages/benchmarks/common/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ impl Component for Benchmarks {
5555
let cpu = self.cpu.signal() =>
5656
Benchmark { dataset: *dataset, cpu: *cpu }
5757
};
58+
let tangram_tree_benchmarks_description = ui::Markdown::new("Tangram Tree is a pure Rust implementation of Gradient Boosted Decision Trees. It has the smallest memory footprint of the leading GBDT implementations and achieves state of the art speed and accuracy. Check it out on [GitHub](https://github.com/tangramxyz/tangram/blob/main/crates/tree).".into());
5859
ui::S1::new()
5960
.child(ui::H1::new().child("Tangram Tree Benchmarks"))
61+
.child(ui::P::new().child(tangram_tree_benchmarks_description))
6062
.child_signal(self.dataset.signal().map({
6163
let dataset = self.dataset.clone();
6264
clone!(dataset_select_field_options);

0 commit comments

Comments
 (0)