Popularity
9.2
Stable
Activity
0.0
Stable
91
15
15
Monthly Downloads: 36
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Web
weigh alternatives and similar packages
Based on the "Web" category.
Alternatively, view weigh alternatives based on common mentions on social networks and blogs.
-
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
haskell-bitmex-rest
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
swagger-petstore
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
scotty
Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository) -
neuron
Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote) -
airship
Helium + Webmachine = Airship. A toolkit for building declarative, RESTful web apps. -
haskell-kubernetes
Haskell bindings to the Kubernetes API (via swagger-codegen) -
apecs-gloss
a fast, extensible, type driven Haskell ECS framework for games -
digestive-functors
A general way to consume input using applicative functors -
servant-elm
Automatically derive Elm functions to query servant webservices -
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
kubernetes-client-core
Haskell client for the kubernetes API. A work in progress. -
backprop
Heterogeneous automatic differentiation ("backpropagation") in Haskell -
keera-hails-reactive-htmldom
Keera Hails: Haskell on Rails - Reactive Programming Framework for Interactive Haskell applications -
engine-io
A Haskell server implementation of the Engine.IO and Socket.IO (1.0) protocols -
ghcjs-dom
Make Document Object Model (DOM) apps that run in any browser and natively using WebKitGtk
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of weigh or a related project?
README
weigh 
Measures the memory usage of a Haskell value or function
Limitations
- :warning: Turn off the
-threaded
flag, otherwise it will cause inconsistent results.
Example use
import Weigh
main :: IO ()
main =
mainWith
(do func "integers count 0" count 0
func "integers count 1" count 1
func "integers count 10" count 10
func "integers count 100" count 100)
where
count :: Integer -> ()
count 0 = ()
count a = count (a - 1)
Output results:
Case | Allocated | GCs |
---|---|---|
integers count 0 | 16 | 0 |
integers count 1 | 88 | 0 |
integers count 10 | 736 | 0 |
integers count 100 | 7,216 | 0 |
Output by default is plain text table; pass --markdown
to get a
markdown output like the above.