Helpshift Xamarin SDK performance

3.2.0

The impact anaysis was done on macOS 10.14.4 with Visual Studio Community Version 8.3.3 (build 8), Mono 6.4.0.208 and Xcode 11.1. Version of NewtonSoft JSON.NET used was 9.0.1.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 41.2 MB for the normal version and 116.6 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 2 MB in size if your app already contains Newtonsoft.Json.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 3.3 MB of memory when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~3.4 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds ~4.1 MB of memory. This depends on the number of FAQs in a section.
Single FAQ
adds ~4.3 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~4.6 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~5.1 MB of memory for an average of 10 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

3.1.0

The impact anaysis was done on macOS 10.14 with Visual Studio Community Version 8.0.5 (build 9), Mono 5.18.1.3 and Xcode 10. Version of NewtonSoft JSON.NET used was 12.0.2.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 40 MB for the normal version and 114 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 1.1 MB in size if your app already contains Newtonsoft.Json.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 3 MB of memory when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~5.1 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 3.9 MB, settling at 3.6 MB.
Single FAQ
adds ~4.1 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~4.4 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~5.2 MB of memory for an average of 10 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

3.0.0

The impact anaysis was done on macOS 10.14 with Visual Studio Community Version 7.6.10 (build 27), Mono 5.2.0.215 and Xcode 10. Version of NewtonSoft JSON.NET used was 11.0.2.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 44.3 MB for the normal version and 94 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 18.2 MB in size. If you are using the bitcode version of the library then Helpshift adds around 18.2 MB in size. The 18.2 MB size includes total impact with dependency on Newtonsoft.Json. If your app already contains Newtonsoft.Json, the Helpshift SDK will add 14.2 MB.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 4.3 MB of memory with peak usage of 4.7 MB (for 1-2 seconds). Around 4.7 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~4.4 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 4.8 MB, settling at 3.6 MB.
Single FAQ
adds ~4.4 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~3.7 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~5.2 MB of memory for an average of 10 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

2.6.0

The impact analysis was done with Xamarin Studio Community Version 6.3 (build 864), Mono 5.2.0.215 and Xcode 9.2. Version of NewtonSoft JSON.NET used was 10.0.3.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 30.3 MB for the normal version and 62.5 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 9.5 MB in size. If you are using the bitcode version of the library then Helpshift adds around 9.5 MB in size.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 1.6 MB of memory with peak usage of 2.8 MB (for 1-2 seconds). Around 1.2 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~4.0 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 6.2 MB, settling at 1.2 MB.
Single FAQ
adds ~3.5 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~6.7 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~2.4 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

2.5.0

The impact anaysis was done on macOS 10.12.6 with Xamarin Studio Community Version 6.3 (build 864), Mono 5.2.0.215 and Xcode 8.3.3. Version of NewtonSoft JSON.NET used was 10.0.3.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 29.5 MB for the normal version and 60.7 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 9.6 MB in size. If you are using the bitcode version of the library then Helpshift adds around 9.6 MB in size.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 1.5 MB of memory with peak usage of 2.3 MB (for 1-2 seconds). Around 1.3 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~3.1 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 7.5 MB, settling at 1.4 MB.
Single FAQ
adds ~3.0 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~6.9 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~2.3 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

2.4.0

The impact anaysis was done with Xamarin Studio Community Version 6.3 (build 864), Mono 5.2.0.215 and Xcode 8.3.3.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 29.6 MB for the normal version and 60.3 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 8.2 MB in size. If you are using the bitcode version of the library then Helpshift adds around 8.2 MB in size.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 1.3 MB of memory with peak usage of 2.2 MB (for 1-2 seconds). Around 1.3 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~3.3 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 8.4 MB, settling at 1.12 MB.
Single FAQ
adds ~3.1 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~6.7 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~2.5 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

2.3.1

The impact anaysis was done with Xamarin Studio Community Version 6.3 (build 19), Mono 4.8.1 and Xcode 8.3.2.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 27.3 MB for the normal version and 56.1 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 8.6 MB in size. If you are using the bitcode version of the library then Helpshift adds around 8.6 MB in size.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 1.18 MB of memory with peak usage of 2.11 MB (for 1-2 seconds). Around 0.9 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~3.01 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 8.6 MB, settling at 1.5 MB.
Single FAQ
adds ~1.9 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~7.1 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~2.5 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

2.3.0

The impact anaysis was done with Xamarin Studio Community Version 6.3 (build 19), Mono 4.8.1 and Xcode 8.3.2.

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 27.8 MB for the normal version and 56 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 8.6 MB in size. If you are using the bitcode version of the library then Helpshift adds around 8.6 MB in size.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 0.9 MB of memory with peak usage of 1.87 MB (for 1-2 seconds). Around 0.9 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~3.4 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 8.4 MB, settling at 1.4 MB.
Single FAQ
adds ~3.1 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~6.6 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~2.5 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

2.2.0

Disk Space

This is the amount of disk space the static library takes up. The total size of the library is 27.6 MB for the normal version and 55.6 MB for the bitcode version.

When included in an app, the Helpshift library and all its resources will add around 6.8 MB in size. If you are using the bitcode version of the library then Helpshift adds around 6.8 MB in size.

RAM usage

Memory usage (Bitcode enabled in release mode)

Helpshift's install call (installForApiKey:)
adds around 0.9 MB of memory with peak usage of 2.03 MB (for 1-2 seconds). Around 0.9 MB of memory is used when a Helpshift screen is not engaged.
Helpshift's FAQ screens (showFAQs:)
adds ~3.75 MB of memory. This depends on the number of FAQs and sections in the host app.
Single section:
adds a peak 2.92 MB, settling at 1.5 MB.
Single FAQ
adds ~1.73 MB memory. This depends upon the FAQ content.
Helpshift's New Chat screen (showConversation:)
adds: ~1.58 MB
Helpshift's Campaigns Inbox screen (showInbox:)
adds ~3 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of Campaigns received and the resolution of the icon images used in the Campaigns.

v2.0.0

Disk Space

This is the amount of disk space the static library takes up.

The total size of library is 25.8 MBs.

The breakage is as follows:

Architecture Size (MB)
arm64 6.4
armv7 4.6
armv7s 4.6
simulator 9.2

When included in an app, Helpshift library and all it resources will add around 2.15 MB size. If you are using the bitcode version of the library then Helpshift adds around 2.15 MB size.

Ram usage

Memory usage (Bitcode enabled in debug mode)

Helpshift's install call (installForApiKey:) : adds around 0.9 MB of memory with peak usage of 1 MB (for 1-2 seconds). So around 0.9MB of memory is used when a Helpshift screen in not engaged.

Helpshift's FAQ screens (showFAQs:) adds: ~ 6 MB of memory. (This depends on the number of FAQs and section in the host app).

Single section: adds peak 5 MB peak, settled at 1 MB.

Single faq: adds ~ 4 MB memory (This depends upon the faq content).

Helpshift's New Chat screen (showConversation:) adds: ~1 MB

Helpshift's Campaigns Inbox screen (showInbox:)
adds around 3 MB of memory for an average of 5 Campaigns on the device. Please note that this number will vary depending on the number of campaigns received and the resolution of the icon images used in the Campaigns.

v1.0.0

Disk space

The combined library size (libHelpshift.a) is 9.9 MB. The breakup is as follows:

Architecture Size (MB)
i386 + x86_64 (simulator) 4.6
armv7 1.7
armv7s 1.7
arm64 2.4

When compiled with an app for deployment on the app store, armv7, armv7s and arm64 will be taken up and i386+x86_64 or the simulator architectures will be ignored.

Sample compiled payload size using a demo app

The app store size was estimated using Xcode's "Estimated App Store Size" feature for archived product build.

On an average, Helpshift Unity SDK for iOS adds 550KB per architecture.

SDK memory usage

Memory usage for the SDK support screen launches.

Support API launch Memory Usage (approx. MB)
showConversation (with no Conversation) 6.01
showConversation (with already running Conversation) 6.56
showFAQs 9.87
showFAQSection 9.50
showSingleFAQ 6.23

Tested with a demo app. Usage will increase with number of FAQs and number of messages in a conversation.