sso
This commit is contained in:
parent
029fe23657
commit
1876580d86
911 changed files with 160008 additions and 2 deletions
21
node_modules/xmlbuilder/perf/basic/object.coffee
generated
vendored
Normal file
21
node_modules/xmlbuilder/perf/basic/object.coffee
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
perf 'Create simple object', 100000, (run) ->
|
||||
obj =
|
||||
ele: "simple element"
|
||||
person:
|
||||
name: "John"
|
||||
'@age': 35
|
||||
'?pi': 'mypi'
|
||||
'#comment': 'Good guy'
|
||||
'#cdata': 'well formed!'
|
||||
unescaped:
|
||||
'#raw': '&<>&'
|
||||
address:
|
||||
city: "Istanbul"
|
||||
street: "End of long and winding road"
|
||||
contact:
|
||||
phone: [ "555-1234", "555-1235" ]
|
||||
id: () -> return 42
|
||||
details:
|
||||
'#text': 'classified'
|
||||
|
||||
run () -> xml(obj)
|
||||
Loading…
Add table
Add a link
Reference in a new issue