F# Bloggers

Blog articles of F# Bloggers

0
comment
on 2/8/2016 11:14 AM
It's pretty straightforward to do basic benchmarking of a single, self-contained piece of code in .NET. You just make a Stopwatch sandwich (let sw = Stopwatch.StartNew(); <code goes here>; sw.Stop()), then read off the elapsed time from the Stopwatch. What about measuring the throughput of a data pipeline? In this case one is less interested in … Continue reading Benchmarking IEnumerables in F# - Seq.timed →
>> Read the full article
.
0
comment
on 2/7/2016 4:00 PM
It’s pretty straightforward to do basic benchmarking of a single, self-contained piece of code in .NET. You just make a Stopwatch sandwich (let sw = Stopwatch.StartNew(); <code goes here>; sw.Stop()), then read off the elapsed time from the Stopwatch. What about measuring the throughput of a data pipeline? In this case one is less interested in timing a single block of code from start to finish, and more interested in bulk metrics like computations/sec or milliseconds/item. Oftentimes such pipelines are[...]
>> Read the full article
.
0
comment
on 2/1/2016 8:52 AM
I've recently had reason to do a bit of work with JNI .  Throughout the course of this work I had to do quite a lot of Googling in order to figure out how to properly manage the caching of various JNI objects used by my C++ code. Some JNI objects can be safely cached … Continue reading JNI object lifetimes - quick reference →
>> Read the full article
.
0
comment
on 1/31/2016 4:00 PM
I’ve recently had reason to do a bit of work with JNI .  Throughout the course of this work I had to do quite a lot of Googling in order to figure out how to properly manage the caching of various JNI objects used by my C++ code. Some JNI objects can be safely cached and re-used at any point, while others have limited lifetimes and require special handling. Obtaining JNI objects through JNI APIs is, broadly speaking, fairly expensive, so it’s smart to persist those objects which will be re-used in multiple[...]
>> Read the full article
.
0
comment
on 1/11/2016 11:08 AM
A Developer's journey from OO to Functional
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper