Platform
Resources
Pricing
Sign in
Get started
Dominik Moritz
Faculty at CMU (@cmudig) and researcher at @apple.
Workspace
Fork
Published
By
Dominik Moritz
Edited
May 5, 2021
Fork of
Stdlib Benchmark Template
6 stars
Insert cell
2
Insert cell
Insert cell
buffer
=
(
await
fetch
(
url
)
)
.
arrayBuffer
(
)
Insert cell
function
a3
(
b
)
{
const
data
=
arrow3
.
Table
.
from
(
buffer
)
;
b
.
tic
(
)
;
// start timing
for
(
let
i
=
0
;
i
<
b
.
iterations
;
i
++
)
{
for
(
const
row
of
data
)
{
//
}
}
b
.
toc
(
)
;
// end timing
b
.
end
(
)
;
// finish the benchmark
}
Insert cell
function
a4
(
b
)
{
const
data
=
arrow4
.
Table
.
from
(
buffer
)
;
b
.
tic
(
)
;
// start timing
for
(
let
i
=
0
;
i
<
b
.
iterations
;
i
++
)
{
for
(
const
row
of
data
)
{
//
}
}
b
.
toc
(
)
;
// end timing
b
.
end
(
)
;
// finish the benchmark
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
lib
=
"apache-arrow"
// "@apache-arrow/es2015-umd"
Insert cell
arrow3
=
require
(
`${
lib
}@3`
)
Insert cell
arrow4
=
require
(
`${
lib
}@4`
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Compare fork
Fork
View
Export
Edit
Show 2 comments
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
url
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
buffer
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
a3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
a4
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
lib
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arrow3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
arrow4
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML