jvilk / bfsbench Goto Github PK
View Code? Open in Web Editor NEWBenchmark suite for BrowserFS.
License: MIT License
Benchmark suite for BrowserFS.
License: MIT License
Write a wrapper program that captures interactions with Node's fs
module, and logs them to a file.
When finished, we should be able to automagically log programs' file system behavior by replacing their require('fs')
line with require('logfs')
.
Challenges:
JSON.parse
(e.g. Doppio's javap
benchmark suite generates 50+ MB of log file using a naive strategy).
process.nextTick
.Buffer
-reuse strategies?
Buffer
constructor, attach an id to each, and use that to identify buffers passed to fs
.One current limitation of BrowserFS: We do not support Node's writestreams.
Thankfully, all I need to do is emulate the createWriteStream
method to construct a writeStream
, the write
method, the on
method, and the end
method.
Once I do this, I can use the event recorder in the browser with BFS.
generate_random_files
)generate_random_files
)Should figure out different access patterns, e.g.:
generate_random_files
)generate_random_files
)The most important part of all of this. Real programs, real workloads.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.