Let Benchmark

No preview image

1 collaborator

Uri_dolphin3 Uri Wilensky (Author)

Tags

(This model has yet to be categorized with any tags)
Model group CCL | Visible to everyone | Changeable by group members (CCL)
Model was written in NetLogo 4.0pre3 • Viewed 137 times • Downloaded 25 times • Run 0 times
Download the 'Let Benchmark' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

globals [ glob1 result ]

to benchmark
  set result 0.0
  random-seed 362
  reset-timer
  setup
  repeat 1000000 [ go ]
  set result timer
end 

to benchmark-locals
  random-seed 362
  reset-timer
  setup
  repeat 1000000 [ go-locals ]
  set result timer
end 

to setup
  ca
  set glob1 0
end 

to go
  let a glob1
  let b a
  let c b
end 

to go-locals
  let a 0
  let b 0
  let c 0

  set a glob1
  set b a
  set c b
end 

There are 3 versions of this model.

Uploaded by When Description Download
Uri Wilensky over 14 years ago Updated from NetLogo 4.1 Download this version
Uri Wilensky over 14 years ago Let Benchmark Download this version
Uri Wilensky over 14 years ago Let Benchmark Download this version

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.