Comments (5)
Yes 64 bit. Here is the branch with benchmarks, and stack.yaml
there should be enough for precise reproducing:
https://github.com/mrkkrp/mmark/tree/add-benchmarks
from weigh.
Yep, that's it.
GCStats has numGcs
as a Int64 in the base
I wrote against: http://hackage.haskell.org/package/base-4.10.0.0/docs/GHC-Stats.html#t:GCStats
But which is deprecated in GHC 8.2 in favor of RTSStats
and I see that gcs
is now a Word32
. So I imagine there's a mistranslation from their new API for backwards-compatibility. The values that come back are: (8589934597,4294967297) for GCs. So it seems to be a borked API.
Not to worry, I'll have to put in some CPP to detect this version of things and use the RTSStats
if available.
from weigh.
Agreed, seems like 32-bit Int underflow. 4,294,967,295
is the maximum for Word32. The fact that it shows 299
implies that the number is held in a larger size, probably an Int64
- but I bet it originated in a Word32
with the value -4
or something, and got copied into an int. E.g.
> fromIntegral ((-1) :: Word32) + 4 :: Int64
4294967299
Can you give me your stack resolver so that I can reproduce this precisely?
from weigh.
Also, I presume you're on a 64-bit platform?
from weigh.
@mrkkrp Fixed in weigh-0.0.6
.
from weigh.
Related Issues (20)
- Measured bytes differs from what is reported by a cost center HOT 4
- Test failure (due to GHC 8.2.2?) HOT 2
- 0.0.6 Fails to compile with GHC-7.8 HOT 2
- Can't build test suite with ghc 8.4 due to bytestring-trie HOT 2
- Why direct build-depend on TemplateHaskell ? HOT 4
- Organize Weigh measures HOT 5
- Error when using with criterion HOT 5
- Export reportGroup HOT 3
- Problem when running Actions whith the same name in different group
- Doesn't build with GHC head HOT 1
- Inconsistent result, bytes in negative HOT 11
- Meaning of "Live" column different for GHC versions 8.2 and later HOT 1
- Results depending on function ordering HOT 5
- Implementation of 'fork' HOT 3
- Maximum residency isn't right HOT 4
- setting file does not exists and empty results HOT 6
- mainWith cannot be used more than once HOT 3
- Somewhat confusing results HOT 4
- Build failures in weigh-0.0.1 to weigh-0.0.5 with recent GHC versions HOT 1
- Build failures with mtl-2.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weigh.