You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
393 B
13 lines
393 B
|
12 years ago
|
{-# LANGUAGE OverloadedStrings #-}
|
||
|
|
module Main where
|
||
|
|
|
||
|
|
import Criterion.Main
|
||
|
|
import Network.Xmpp.Types
|
||
|
|
|
||
|
|
bench_jidFromTexts = whnf (\(a,b,c) -> jidFromTexts a b c)
|
||
|
|
( Just "+\227\161[\\3\8260\&4"
|
||
|
|
, "\242|8e3\EOTrf6\DLEp\\\a"
|
||
|
|
, Just ")\211\226")
|
||
|
|
|
||
|
|
main = do defaultMain [bench "jidFromTexts 2" bench_jidFromTexts]
|