Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.372 kB
# this file is in streamline syntax!
# https://github.com/Sage/streamlinejs
neo4j = require '..'
db = new neo4j.GraphDatabase 'http://localhost:7474'
NUM_NODES = 100000
console.log "Constructing #{NUM_NODES} nodes..."
beginTime = Date.now()
for i in [0...NUM_NODES]
db.createNode {}
timeDelta = Date.now() - beginTime
console.log "Took #{timeDelta / 1000} secs."
Jump to Line
Something went wrong with that request. Please try again.