var naming = require('../index'),
    notations = {
        block: { block: 'block' },
        blockMod: { block: 'block', modName: 'mod-name', modVal: 'mod-val' },
        elem: { block: 'block', elem: 'elem' },
        elemMod: { block: 'block', elem: 'elem', modName: 'mod-name', modVal: 'mod-val' }
    };

suite('stringify', function () {
    set('iterations', 2000000);

    bench('block', function () {
        naming.stringify(notations.block);
    });

    bench('blockMod', function () {
        naming.stringify(notations.blockMod);
    });

    bench('elem', function () {
        naming.stringify(notations.elem);
    });

    bench('elemMod', function () {
        naming.stringify(notations.elemMod);
    });
});

@@ -115,25 +115,29 @@
 'block', mod
-N
+: %7B n
 ame: 'mod-na
@@ -133,36 +133,33 @@
 me: 'mod-name', 
-modV
+v
 al: 'mod-val' %7D,
@@ -155,16 +155,18 @@
 mod-val'
+ %7D
  %7D,%0A    
@@ -265,9 +265,13 @@
  mod
-N
+: %7B n
 ame:
@@ -287,12 +287,9 @@
 e', 
-modV
+v
 al: 
@@ -299,16 +299,18 @@
 d-val' %7D
+ %7D
 %0A    %7D;%0A

use mod field by default